58c42d9013a4893d8ee1ef9d7ee34f94796754e5
UsersPanel.tsx was sending configid: 15 (Staff) / 6 (Rider) when creating users, copied from an unrelated Hasura "role config" convention. Every login call (auth.ts) queries app_users with configid: 1, so any account created with 15/6 could never be found on login and was stuck before it even reached the password-setup step. Both create paths and the CreateUserInput default now consistently use configid: 1. Also fixes getRiderLogs() calling riders/getriderlogs, which 404s since the backend only registers this route under /partners.
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/0406e53f-aca4-4047-80a3-dbe279cebc0b
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
Description
Languages
TypeScript
79.9%
CSS
19.4%
JavaScript
0.6%
