bugsink mcp and claude subagents - documentation and test fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 19m11s

This commit is contained in:
2026-01-22 11:22:56 -08:00
parent fac98f4c54
commit eae0dbaa8e
15 changed files with 747 additions and 540 deletions

View File

@@ -17,8 +17,7 @@ import { logger } from '../services/logger.server';
// Test: https://flyer-crawler-test.projectium.com
// Production: https://flyer-crawler.projectium.com
const BASE_URL =
process.env.FLYER_BASE_URL ||
process.env.NODE_ENV === 'production'
process.env.FLYER_BASE_URL || process.env.NODE_ENV === 'production'
? 'https://flyer-crawler.projectium.com'
: process.env.NODE_ENV === 'test'
? 'https://flyer-crawler-test.projectium.com'

View File

@@ -1,7 +1,7 @@
// src/hooks/mutations/useAuthMutations.ts
import { useMutation } from '@tanstack/react-query';
import * as apiClient from '../../services/apiClient';
import { notifyError} from '../../services/notificationService';
import { notifyError } from '../../services/notificationService';
import type { UserProfile } from '../../types';
import { logger } from '../../services/logger.client';
@@ -48,7 +48,10 @@ export const useLoginMutation = () => {
logger.debug('[useLoginMutation] result.data.token', { token: result.data?.token });
// The API returns {success, data: {userprofile, token}}, so extract the data
const extracted = result.data;
logger.info('[useLoginMutation] Returning extracted data', { hasUserprofile: !!extracted?.userprofile, hasToken: !!extracted?.token });
logger.info('[useLoginMutation] Returning extracted data', {
hasUserprofile: !!extracted?.userprofile,
hasToken: !!extracted?.token,
});
return extracted;
},
onError: (error: Error) => {