Translated from English to Dutch
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export default defineEventHandler(async (event) => {
|
||||
const auth = await getAuth(event)
|
||||
const user = await getAuth(event)
|
||||
|
||||
return auth
|
||||
return user
|
||||
});
|
||||
|
@@ -2,7 +2,6 @@ import { ObjectId } from "mongodb";
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const { type } = await readBody(event)
|
||||
|
||||
const auth = await getAuth(event)
|
||||
|
||||
const usersColl = db.collection('users')
|
||||
|
Reference in New Issue
Block a user