This commit is contained in:
Jesse Wierzbinski 2024-04-09 21:04:46 -10:00
parent b30dd98f73
commit b92d8256a4
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View file

@ -104,7 +104,9 @@ export class LogManager {
string += `${stringified}\n`;
} catch {
string += ` [Invalid JSON] (raw: ${await req.text()})\n`;
string += ` [Invalid JSON] (raw: ${await req
.clone()
.text()})\n`;
}
} else if (
content_type &&

View file

@ -79,6 +79,8 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
.split(",")[0]
.replace(/"/g, "");
console.log(`Resolving keyId ${keyId}`);
const sender = await resolveUser(keyId);
if (!sender) {