fix(mobile): require employee position before user flow
This commit is contained in:
@@ -14,7 +14,7 @@ import type {
|
||||
PromotionEvidence
|
||||
} from '@/types/api';
|
||||
import { apiRequest } from './api';
|
||||
import { getAuth } from './auth';
|
||||
import { getAuth, getSelectedPosition } from './auth';
|
||||
|
||||
const defaultScenarioId = 'complaint-water';
|
||||
|
||||
@@ -40,6 +40,7 @@ export const startPractice = (scenarioId = defaultScenarioId, assignmentId?: num
|
||||
data: {
|
||||
extPartyId: currentExtPartyId(),
|
||||
scenarioId,
|
||||
position: getSelectedPosition(),
|
||||
mode: 'mobile',
|
||||
assignmentId
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user