Frontend issue for https://github.com/fossasia/open-event-server/issues/6027 **Describe the bug** Change endpoint for retrieving discount code using event_id as in https://github.com/fossasia/open-event-server/pull/6208. **Expected behaviour** Discount code and access code logic should work properly.