fix typo
This commit is contained in:
parent
9042d8b265
commit
bf6c6a522a
@ -17,7 +17,7 @@ export const getGuildForRequestEx = async (req: Request, inventory: IInventoryDa
|
|||||||
}
|
}
|
||||||
const guild = await Guild.findOne({ _id: guildId });
|
const guild = await Guild.findOne({ _id: guildId });
|
||||||
if (!guild) {
|
if (!guild) {
|
||||||
throw new Error("Account thinks it is a in guild that doesn't exist");
|
throw new Error("Account thinks it is in a guild that doesn't exist");
|
||||||
}
|
}
|
||||||
return guild;
|
return guild;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user