listenbrainz-server
listenbrainz-server copied to clipboard
Return event metadata from create_user_notification_event endpoint
Currently, the notification event id is hardcoded in tests and it works fine because the relevant sequence is reset before each test. However, as a part of upcoming test speed improvements that will no longer be the case. So, we need to retrieve the event id from the api. We already return this metadata for other event types, so it should be fine.