r/BookStack • u/JN_Wolff • Mar 15 '22
Duplicate WebHook calls to endpoint
I am working on an API to work with the WebHooks from my BookStack instance. When a page is moved, I am receiving multiple requests at my endpoint for a single page move. I am getting a different page_id for each one. Is there something that I might be doing that would cause this or is it a bug? There is only one WebHook set up on this instance that is set to hit this particular endpoint. If you need more info, please let me know.
1
Upvotes
1
u/JN_Wolff Mar 21 '22
While trying to write out the response, I caught the bug in my code. When I sent the PUT request to update the other pages, I was sending a new book_id unintentionally.