This commit is contained in:
Regalijan 2023-10-23 20:15:39 -04:00
parent cfdbc686c7
commit d87d801475
Signed by untrusted user who does not match committer: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -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));