Skip to content

Commit

Permalink
🐛 fix: allow /v1/citizen via API token
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Jan 27, 2022
1 parent 40d809e commit f778933
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/config/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ export const DISABLED_API_TOKEN_ROUTES: DisabledRoute[] = [
["/v1/user", "*"],
["/v1/admin/manage/cad-settings", "*"],
["/v1/admin/manage/", ["POST", "DELETE", "PUT", "PATCH"]],
["/v1/admin/values", ["POST", "DELETE", "PUT", "PATCH"]],
["/v1/citizen", ["POST", "DELETE", "PUT", "PATCH"]],
// todo: add other routes
];

type _User = {
Expand Down

0 comments on commit f778933

Please sign in to comment.