mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
80a2e1b93f
This PR fixes an issue where trying to use an admin token to import features via the API resulted in a 500 (due to missing properties). The solution is to catch when the user is using and admin token in the controller, throw a 400, and tell them to use personal access tokens or service accounts. The PR includes a new test file for this specific use case. We don't really test these cases many other places, so it seemed the logical choice. |
||
---|---|---|
.. | ||
access | ||
change-request-access-service | ||
export-import-toggles | ||
feature-toggle | ||
playground | ||
project | ||
index.ts |