There was an error while loading. Please reload this page.
2 parents 943ed58 + ab47d0c commit 79b3f03Copy full SHA for 79b3f03
1 file changed
src/functions/points/handler.ts
@@ -26,7 +26,7 @@ const points: ValidatedEventAPIGatewayProxyEvent<typeof schema> = async (event)
26
const db = MongoDB.getInstance(process.env.MONGO_URI);
27
await db.connect();
28
const users = db.getCollection('users');
29
- const pointsCollection = db.getCollection('s25-points-syst');
+ const pointsCollection = db.getCollection('f25-points-syst');
30
31
// Make sure user exists
32
const user = await users.findOne({ email: email });
0 commit comments