Last updated: Aug 3, 2022
I want to use patch to trigger the edit event for my webhook but I don't seem to be able to make patch create a draft update.
May 18, 2022, 2:39 PM
A draft is just a document with an ID starting with
, so you could make your patch set your ID as a draft?
May 18, 2022, 2:42 PM
Good call Kitty 🙌
May 18, 2022, 6:24 PM
Ah it looks like I can't use this as a workaround as I get this error using patch:
immutable attribute \"_id\" may not be modified
May 19, 2022, 10:17 AM
I have the same problem, did you solve it?
Jul 29, 2022, 9:38 AM
I didn't find anything for a work around so I just used post to create a new doc with the same draft ID which overwrites the original.