mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Improvements to Flutter client (#1042)
* Chat improvements * Delete/reset account via API for Flutter app * Fix tests. * Add "contact us" to settings * Update mobile/lib/screens/chat_conversation_screen.dart Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Juan José Mata <jjmata@jjmata.com> * Improve LLM special token detection * Deactivated user shouldn't have API working * Fix tests * API-Key usage * Flutter app launch failure on no network * Handle deletion/reset delays * Local cached data may become stale * Use X-Api-Key correctly! --------- Signed-off-by: Juan José Mata <jjmata@jjmata.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -394,6 +394,9 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
delete "users/reset", to: "users#reset"
|
||||
delete "users/me", to: "users#destroy"
|
||||
|
||||
# Test routes for API controller testing (only available in test environment)
|
||||
if Rails.env.test?
|
||||
get "test", to: "test#index"
|
||||
|
||||
Reference in New Issue
Block a user