impl Account Table

This commit is contained in:
Andrew Glaze
2025-05-15 22:14:00 -04:00
parent 04c5660f7d
commit cada630298
14 changed files with 268 additions and 211 deletions

View File

@@ -0,0 +1,14 @@
import Vapor
struct UtilController: RouteCollection {
func boot(routes: any RoutesBuilder) throws {
let group = routes.grouped("v3", "util")
group.post("country", "get", use: self.getCountry)
}
@Sendable
func getCountry(req: Request) async throws -> String {
"{\"country\": \"us\"}"
}
}