Distinguish sqlite DB for Mindflow as well.
This commit is contained in:
parent
f12ce11b7f
commit
5b4cc67fda
@ -13,7 +13,7 @@ import (
|
||||
"time"
|
||||
|
||||
"git.arav.su/Arav/dwelling-home/internal/http"
|
||||
"git.arav.su/Arav/dwelling-home/pkg/mindflow/database/sqlite"
|
||||
mfsqlite "git.arav.su/Arav/dwelling-home/pkg/mindflow/database/sqlite"
|
||||
gbsqlite "git.arav.su/Arav/justguestbook/database/sqlite"
|
||||
)
|
||||
|
||||
@ -93,7 +93,7 @@ func main() {
|
||||
srv.PATCH("/api/guestbook/:id/reply", guestbookApi.EditReply)
|
||||
srv.DELETE("/api/guestbook/:id/reply", guestbookApi.DeleteReply)
|
||||
|
||||
mindflowDB, err := sqlite.NewSQLiteMindflow(path.Join(*databasesPath, "mindflow.sqlite"))
|
||||
mindflowDB, err := mfsqlite.NewSQLiteMindflow(path.Join(*databasesPath, "mindflow.sqlite"))
|
||||
if err != nil {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user