From 78dc4c653bf8159d15c47cf87e214c7f35e8e51d Mon Sep 17 00:00:00 2001 From: beerpiss Date: Wed, 25 Oct 2023 09:45:44 +0700 Subject: [PATCH] fix: card info -> token you can probably see where i referenced the code from --- .../router/api/v1/users/_userID/integrations/myt/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/server/router/api/v1/users/_userID/integrations/myt/router.ts b/server/src/server/router/api/v1/users/_userID/integrations/myt/router.ts index 283fcaaab..f791012fa 100644 --- a/server/src/server/router/api/v1/users/_userID/integrations/myt/router.ts +++ b/server/src/server/router/api/v1/users/_userID/integrations/myt/router.ts @@ -90,7 +90,7 @@ router.put( $set: newAuthDoc, }, { - // insert new card info if the user doesn't have it yet. + // insert new token if the user doesn't have it yet. upsert: true, } );