Skip to content

Commit

Permalink
chore: spec work
Browse files Browse the repository at this point in the history
  • Loading branch information
BCerki committed Jul 21, 2023
1 parent 66a345a commit c3b288d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/server/middleware/attachmentDeleteRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const discardProjectAttachmentFormChangeMutation = `mutation discardProjectAttac
$input: DiscardProjectAttachmentFormChangeInput!
) {
discardProjectAttachmentFormChange(input: $input) {
formChanges {
formChange {
id
}
}
Expand Down Expand Up @@ -54,7 +54,7 @@ export const handleDelete = async (req, res, next) => {
req.body.variables,
req
);
// brianna this isn't working since change to the discard mutation
// brianna this isn't working since change to the discard mutation--I think this middleware isn't actually transactional. If this doesn't work the next mutation still fires
console.log("attachmentFormChangeResponse", attachmentFormChangeResponse);

// delete the attachment from the attachment table
Expand Down

0 comments on commit c3b288d

Please sign in to comment.