LLL
This commit is contained in:
parent
3bc9075d92
commit
3f82b13b0a
4
main.go
4
main.go
@ -96,8 +96,8 @@ func initWhatsAppClient(ctx context.Context, w http.ResponseWriter) {
|
||||
}
|
||||
os.MkdirAll(storeDir, os.ModePerm)
|
||||
|
||||
container, err := sqlstore.New("sqlite3", "file:"+filepath.Join(storeDir, "whatsapp.db")+"?_foreign_keys=on", waLog.Noop)
|
||||
if err != nil {
|
||||
container, err := sqlstore.New("sqlite", "file:"+filepath.Join(storeDir, "whatsapp.db")+"?_foreign_keys=on", waLog.Noop)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user