This commit is contained in:
Daniel 2023-08-04 12:29:32 +08:00
parent 7d992ce175
commit afb698d1fe
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 61 additions and 11 deletions

View file

@ -111,7 +111,7 @@ func execAssetContentOp(op *assetContentDBQueueOperation, tx *sql.Tx, context ma
switch op.action {
case "index":
err = insertAssetContents(tx, op.assetContents, context)
case "delete":
case "deletePath":
err = deleteAssetContentsByPath(tx, op.path, context)
default:
msg := fmt.Sprintf("unknown asset content operation [%s]", op.action)