mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-17 09:26:20 -05:00
bug fix with editing fa post
This commit is contained in:
parent
e48d482282
commit
de65d77401
|
|
@ -214,7 +214,7 @@ const resolvers = {
|
|||
validateFAPost(args)
|
||||
|
||||
await FAPost.findOneAndUpdate(
|
||||
{ discord_id: ctx.user.discord_id },
|
||||
{ discord_id: ctx.user.discord_id, hidden: false },
|
||||
{ ...args }
|
||||
).catch(e => {
|
||||
throw new UserInputError(error.message, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user