🐛 Fix analyze now query issue
This commit is contained in:
@ -66,7 +66,7 @@ func createAttachmentDirectly(c *fiber.Ctx) error {
|
||||
|
||||
metadata.Pool = &pool
|
||||
|
||||
if !c.QueryBool("analyzeNow", false) {
|
||||
if c.QueryBool("analyzeNow", false) {
|
||||
services.AnalyzeAttachment(metadata)
|
||||
} else {
|
||||
services.PublishAnalyzeTask(metadata)
|
||||
|
Reference in New Issue
Block a user