MUST C1: Desktop invokes unregistered Tauri commands get_api_base_url/get_auth_token #171

Closed
opened 2026-11-12 06:30:53 +01:00 by amiryahaya · 0 comments
Owner

memberStore.ts:17,27 + invitationStore.ts:60,70 + TenantRequestPage.tsx:10,20 + JoinTenantPage.tsx:21 invoke commands that have no #[tauri::command] and are not registered in lib.rs. Packaged builds: Members/Invitations/badge/Join/tenant-request all fail (localhost fallback); dev: missing auth header -> 401 -> auto-logout on opening Members. Vitest mocks answer both, so CI green. Fix: two thin commands + registration (mock already documents shape).

memberStore.ts:17,27 + invitationStore.ts:60,70 + TenantRequestPage.tsx:10,20 + JoinTenantPage.tsx:21 invoke commands that have no #[tauri::command] and are not registered in lib.rs. Packaged builds: Members/Invitations/badge/Join/tenant-request all fail (localhost fallback); dev: missing auth header -> 401 -> auto-logout on opening Members. Vitest mocks answer both, so CI green. Fix: two thin commands + registration (mock already documents shape).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/failsulit#171
No description provided.