fix(api): filter post not accessing guildId correctly

This commit is contained in:
Corban-Lee Jones 2025-05-21 10:33:32 +01:00
parent 79f7950089
commit 43f994fd6c

View File

@ -36,7 +36,7 @@ export const post = async (request: Request, response: Response) => {
};
const createInputData: Prisma.FilterUncheckedCreateInput = {
guild_id: body.guild_id,
guild_id: request.params.guildId,
name: body.name,
value: body.value,
matching_algorithm: body.matching_algorithm,