summary refs log tree commit diff
path: root/src/api/routes/users/@me/billing
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/users/@me/billing')
-rw-r--r--src/api/routes/users/@me/billing/country-code.ts2
-rw-r--r--src/api/routes/users/@me/billing/location-info.ts2
-rw-r--r--src/api/routes/users/@me/billing/subscriptions.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/api/routes/users/@me/billing/country-code.ts b/src/api/routes/users/@me/billing/country-code.ts

index 8bddafc3..dd2be6d4 100644 --- a/src/api/routes/users/@me/billing/country-code.ts +++ b/src/api/routes/users/@me/billing/country-code.ts
@@ -21,7 +21,7 @@ import { route } from "@spacebar/api"; const router: Router = Router({ mergeParams: true }); -router.get("/", route({}), async (req: Request, res: Response) => { +router.get("/", route({}), (req: Request, res: Response) => { //TODO res.json({ country_code: "US" }).status(200); }); diff --git a/src/api/routes/users/@me/billing/location-info.ts b/src/api/routes/users/@me/billing/location-info.ts
index 918ea913..5a57c0ea 100644 --- a/src/api/routes/users/@me/billing/location-info.ts +++ b/src/api/routes/users/@me/billing/location-info.ts
@@ -21,7 +21,7 @@ import { route } from "@spacebar/api"; const router: Router = Router({ mergeParams: true }); -router.get("/", route({}), async (req: Request, res: Response) => { +router.get("/", route({}), (req: Request, res: Response) => { //TODO // TODO: subdivision_code (optional) res.json({ country_code: "US" }).status(200); diff --git a/src/api/routes/users/@me/billing/subscriptions.ts b/src/api/routes/users/@me/billing/subscriptions.ts
index e8e6f657..6641df6a 100644 --- a/src/api/routes/users/@me/billing/subscriptions.ts +++ b/src/api/routes/users/@me/billing/subscriptions.ts
@@ -21,7 +21,7 @@ import { route } from "@spacebar/api"; const router: Router = Router({ mergeParams: true }); -router.get("/", route({}), async (req: Request, res: Response) => { +router.get("/", route({}), (req: Request, res: Response) => { //TODO res.json([]).status(200); });