diff --git a/tenant-platform/src/api/push.ts b/tenant-platform/src/api/push.ts index 5518cd7..627e8f7 100644 --- a/tenant-platform/src/api/push.ts +++ b/tenant-platform/src/api/push.ts @@ -81,10 +81,11 @@ export const pushAdminApi = { }) }, - testOffline(appKey: string, userId: string, title: string, body: string, payload?: string) { + testOffline(appKey: string, userId: string, title: string, body: string, payload?: string, deviceId?: string | null) { return client.post<{ data: TestPushResult }>('/push/admin/test-offline', { appKey, userId, + deviceId: deviceId ?? null, title, body, payload: payload ?? null, diff --git a/tenant-platform/src/views/push/PushManagementView.vue b/tenant-platform/src/views/push/PushManagementView.vue index 783e1b5..8875832 100644 --- a/tenant-platform/src/views/push/PushManagementView.vue +++ b/tenant-platform/src/views/push/PushManagementView.vue @@ -106,6 +106,17 @@ + + + + + + @@ -126,8 +137,12 @@