We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f909b29 commit ab47d0cCopy full SHA for ab47d0c
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