missing message

This commit is contained in:
Miodec 2022-03-04 00:36:40 +01:00
parent d4b7ab90ca
commit c27caa68af

View file

@ -157,7 +157,7 @@ async function authenticateWithApeKey(
const isKeyValid = await compare(apeKey, targetApeKey?.hash);
if (!isKeyValid) {
throw new MonkeyError(400);
throw new MonkeyError(400, "Invalid ApeKey");
}
return {