Commit Graph

7 Commits

Author SHA1 Message Date
AbdBarho cdb9f2da4e Send x-oasst-user header 2023-01-27 22:33:04 +01:00
Keith Stevens f9c8d1dd81 Combining the admin API routes with the backends user routes 2023-01-14 16:55:14 +09:00
rjmacarthy 2a8d38f058 Refactor fetch and post to use axios
Fix set_label id missing in payload use frontend_message_id

pre-commit

Refactor api fetcher/poster to axios create

lint

Remove string literal for path

Revert oasst_api_client.ts

Fix warning httpStatusCode OasstError optional parameter

Refactor remove api base url for local api

Lint add blank line
2023-01-13 17:05:10 +00:00
Keith Stevens d94cb4b2d6 Ensure all the API routes reject banned users 2023-01-10 19:16:13 +09:00
Keith Stevens e69715fbec Fixing some lint errors with the new admin features 2023-01-08 20:21:13 +09:00
Keith Stevens fb0771995d Addressing review comments 2023-01-08 17:54:30 +09:00
Keith Stevens c234e8b0d0 Adding an admin page to manage a specific user's status 2023-01-08 16:15:48 +09:00