mirror of
https://github.com/vapor/template-fluent-postgres.git
synced 2025-04-20 09:27:08 +08:00
Automatic generation from github.com/vapor/template
This commit is contained in:
parent
78f4a996e9
commit
cd047a7537
@ -26,6 +26,6 @@ struct TodoController: RouteCollection {
|
||||
throw Abort(.notFound)
|
||||
}
|
||||
try await todo.delete(on: req.db)
|
||||
return .ok
|
||||
return .noContent
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user