mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-22 04:31:15 +10:00
fix: various fixes
This commit is contained in:
@ -18,7 +18,7 @@ export default defineEventHandler(async (h3) => {
|
||||
throw createError({
|
||||
statusCode: 404,
|
||||
});
|
||||
else if (result.userId !== userId)
|
||||
if (result.userId !== userId)
|
||||
throw createError({
|
||||
statusCode: 404,
|
||||
});
|
||||
|
||||
@ -18,7 +18,7 @@ export default defineEventHandler(async (h3) => {
|
||||
throw createError({
|
||||
statusCode: 404,
|
||||
});
|
||||
else if (result.userId !== userId)
|
||||
if (result.userId !== userId)
|
||||
throw createError({
|
||||
statusCode: 404,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user