feat: Updates views to use new api controllers and db items.

This commit is contained in:
2025-01-10 14:00:33 -05:00
parent 88ee71cb68
commit 280bc31a03
6 changed files with 40 additions and 345 deletions

View File

@@ -11,7 +11,7 @@ struct UserApiController: RouteCollection {
unProtected.post(use: create(req:))
protected.get(use: index(req:))
protected.post("login", use: login(req:))
protected.get("login", use: login(req:))
protected.group(":id") {
$0.delete(use: delete(req:))
}