Add country_code field to userVisitedWorldTravel table

This commit is contained in:
Sean Morley
2024-04-14 13:39:32 +00:00
parent 5e1d7ef160
commit c5ce984cac
7 changed files with 411 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ export async function POST(event: RequestEvent): Promise<Response> {
.values({
userId: event.locals.user.id,
region_id: body.region_id,
country_code: body.country_code,
})
.execute();
return new Response(JSON.stringify({ res: res }), {