mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 10:01:55 +00:00
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>