Skip to content

Save Accept-Language in the push notification Devices

This saves the the language of a push notification device by using the Accept-Language header sent with an api call to /api/v1/devices/.

This way, any device that registers for push notifications can immediately communicate their preferred language. If the preferred language is not available, it will fall back to English.

See also:
https://gitlab.science.ru.nl/thalia/ThaliApp/issues/52
!620 (merged)

Merge request reports

Loading