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)
|
os.MkdirAll(storeDir, os.ModePerm)
|
||||||
|
|
||||||
container, err := sqlstore.New("sqlite3", "file:"+filepath.Join(storeDir, "whatsapp.db")+"?_foreign_keys=on", waLog.Noop)
|
container, err := sqlstore.New("sqlite", "file:"+filepath.Join(storeDir, "whatsapp.db")+"?_foreign_keys=on", waLog.Noop)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user