From 94f76e1493de68bf6a47c5cab9ab19aaf1fe3fe7 Mon Sep 17 00:00:00 2001 From: Chris Nowicki <102450568+chris-nowicki@users.noreply.github.com> Date: Sun, 14 Jul 2024 18:09:04 -0400 Subject: [PATCH] fix: import statement --- functions/userAuth.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/functions/userAuth.js b/functions/userAuth.js index 9a93300b..16c11935 100644 --- a/functions/userAuth.js +++ b/functions/userAuth.js @@ -3,7 +3,6 @@ const { ID } = require('appwrite'); const sdk = require('node-appwrite'); -import { Collection } from '@/api/apiFunctions.enum'; /** * creates a new user record in the User collection @@ -46,7 +45,7 @@ const user = async ({ req, res }) => { // get the list of participants and survivors from the league const league = await databases.getDocument( process.env.DATABASE_ID, - Collection.LEAGUE, + '6626a937b6302f6a4d28', '66311a210039f0532044', ); @@ -55,7 +54,7 @@ const user = async ({ req, res }) => { await databases.updateDocument( process.env.DATABASE_ID, - Collection.LEAGUE, + '6626a937b6302f6a4d28', '66311a210039f0532044', { participants: updatedParticipants,