fix(api): filter post not accessing guildId correctly
This commit is contained in:
parent
79f7950089
commit
43f994fd6c
@ -36,7 +36,7 @@ export const post = async (request: Request, response: Response) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const createInputData: Prisma.FilterUncheckedCreateInput = {
|
const createInputData: Prisma.FilterUncheckedCreateInput = {
|
||||||
guild_id: body.guild_id,
|
guild_id: request.params.guildId,
|
||||||
name: body.name,
|
name: body.name,
|
||||||
value: body.value,
|
value: body.value,
|
||||||
matching_algorithm: body.matching_algorithm,
|
matching_algorithm: body.matching_algorithm,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user