diff --git a/src/utils/database/dbExistingUser.ts b/src/utils/database/dbExistingUser.ts index dba0521..fb877d7 100644 --- a/src/utils/database/dbExistingUser.ts +++ b/src/utils/database/dbExistingUser.ts @@ -28,6 +28,9 @@ export async function userExists(userId: Snowflake) { where: { id: userId, }, + select: { + id: true, + }, }); // If the user is found on the database, then return true, otherwise, false.