mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-02 17:20:39 +00:00
d6298b2643
This also adds a 500 response with the old key if the API key refresh was unsuccessful. Previously, if the key refresh was unsuccessful, this would result in an UnhandledPromiseRejection. This is a new interface. Signed-off-by: Christina Ying Wang <christina@balena.io>