fix: синхронизации аудиторий
This commit is contained in:
@@ -9,6 +9,8 @@ import type {
|
||||
LocationDto,
|
||||
PagedResult,
|
||||
ReviewDto,
|
||||
SyncResultDto,
|
||||
SyncScheduleRequest,
|
||||
SyncStatusDto,
|
||||
TagDto,
|
||||
UserAchievementDto,
|
||||
@@ -112,4 +114,10 @@ export const tagsApi = {
|
||||
|
||||
export const syncApi = {
|
||||
status: () => apiRequest<SyncStatusDto>('/sync/status'),
|
||||
schedule: (request: SyncScheduleRequest) =>
|
||||
apiRequest<SyncResultDto>('/sync/schedule', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(request),
|
||||
}),
|
||||
rooms: () => apiRequest<SyncResultDto>('/sync/rooms', { method: 'POST' }),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user