Automatic generation from github.com/vapor/template

This commit is contained in:
VaporBot 2022-06-13 08:54:52 +00:00
parent 78f4a996e9
commit cd047a7537

View File

@ -26,6 +26,6 @@ struct TodoController: RouteCollection {
throw Abort(.notFound)
}
try await todo.delete(on: req.db)
return .ok
return .noContent
}
}