mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-15 01:01:20 +10:00
feat: partial user platform support + statusMessage -> message
This commit is contained in:
@ -9,7 +9,7 @@ export default defineEventHandler(async (h3) => {
|
||||
if (!notificationId)
|
||||
throw createError({
|
||||
statusCode: 400,
|
||||
statusMessage: "Missing notification ID",
|
||||
message: "Missing notification ID",
|
||||
});
|
||||
|
||||
const userIds = [userId];
|
||||
@ -30,7 +30,7 @@ export default defineEventHandler(async (h3) => {
|
||||
if (!notification)
|
||||
throw createError({
|
||||
statusCode: 400,
|
||||
statusMessage: "Invalid notification ID",
|
||||
message: "Invalid notification ID",
|
||||
});
|
||||
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user