Commit Graph
9 Commits
Author SHA1 Message Date
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
klotske 82a60ef904 Change typings & refactor FlaggableElement 2023-01-12 16:10:05 +03:00
Keith Stevens 454f332823 Ensuring the flagging post has a message or post id 2023-01-11 16:36:40 +09:00
Keith Stevens d94cb4b2d6 Ensure all the API routes reject banned users 2023-01-10 19:16:13 +09:00
Keith Stevens 34a1715923 Cleaning up a suite of eslint warnings 2023-01-10 13:02:17 +09:00
James Melvin d4fdaeca81 fix: pre-commit errors 2023-01-08 10:52:50 +05:30
James Melvin 3d469baaf5 fix: handling for 204 return status. Since text_labels API responds with no data 2023-01-08 10:26:32 +05:30
James Melvin 81a47eeafd fix: Removed console logs. 2023-01-08 10:17:28 +05:30
James Melvin eaf7d74b3e fix: new web route to update text_labels
fix: minimum changes to textFlagLabels to keep it coherent with the backend
2023-01-08 08:53:56 +05:30