fix error

This commit is contained in:
Chris Lu 2021-01-19 14:05:48 -08:00
parent 4c5b752b04
commit fa0c8d5283

View file

@ -74,7 +74,7 @@ func (store *AbstractSqlStore) getTxOrDB(ctx context.Context, fullpath util.Full
txOrDB = store.DB
}
if strings.HasPrefix(string(fullpath), "/buckets/") {
if !strings.HasPrefix(string(fullpath), "/buckets/") {
return
}