Skip to content

Commit

Permalink
fix: wasm db close
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon <1432970085@qq.com>
  • Loading branch information
FGadvancer committed Jul 27, 2023
1 parent af84ef8 commit acf5d9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/db/db_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ type IndexDB struct {
}

func (i IndexDB) Close(ctx context.Context) error {
return nil
_, err := exec.Exec()
return err
}

func (i IndexDB) InitDB(ctx context.Context, userID string, dataDir string) error {
Expand Down

0 comments on commit acf5d9c

Please sign in to comment.