fix: bugs
This commit is contained in:
@@ -2,4 +2,8 @@ import { register } from '@/services/mock/registry'
|
||||
import { endpoints } from '@/services/api/endpoints'
|
||||
import { missionaryDashboard } from '@/services/mock/fixtures/missionary-dashboard'
|
||||
|
||||
register('GET', endpoints.getMissionaryDashboard, () => ({ data: missionaryDashboard }))
|
||||
register('GET', endpoints.getMissionaryDashboard, () => ({
|
||||
success: true,
|
||||
message: 'انجام شد.',
|
||||
data: missionaryDashboard,
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user