Cobresun/movie-club

Category delete is not working when deployed

Opened this issue · 0 comments

This is due to an issue with Netlify Functions wherein the event path is not preserved properly when deployed. See https://answers.netlify.com/t/bug-fix-url-encoding-preserved-in-function-event/27080

We can either wait for a fix or if someone feels like it, add in a workaround.

The correct solution would probably be to add ids to individual awards. A quick and dirty solution would be to add an encoded character to the start of the award's title before sending it, then strip it off in the backend.