feat(delivery): sync mysql service ledger and credentials
This commit is contained in:
@@ -149,6 +149,12 @@ export const deliveryApi = {
|
||||
return Array.isArray(data.items) ? data.items : []
|
||||
},
|
||||
|
||||
async syncMySQLServices(businessLineId: number): Promise<void> {
|
||||
await authRequest(`/auth/api/v1/delivery/business-lines/${businessLineId}/mysql-services/sync`, {
|
||||
method: 'POST',
|
||||
})
|
||||
},
|
||||
|
||||
async getTask(taskId: string): Promise<{ task: DeliveryTask; events: TaskEvent[] }> {
|
||||
const data = await authRequest(`/auth/api/v1/delivery/tasks/${encodeURIComponent(taskId)}`)
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user