why
This commit is contained in:
parent
cfdbc686c7
commit
d87d801475
@ -63,7 +63,7 @@ export async function onRequestGet(context: RequestContext) {
|
||||
data.resolved_attachments = resolvedUrls;
|
||||
}
|
||||
|
||||
if (!data?.user?.id !== context.data.current_user.id)
|
||||
if (data?.user?.id !== context.data.current_user.id)
|
||||
return jsonError("Item does not exist", 404);
|
||||
|
||||
return jsonResponse(JSON.stringify(data));
|
||||
|
Loading…
x
Reference in New Issue
Block a user