- saving progress;

This commit is contained in:
Vitalii Kiiko
2024-12-09 15:29:50 +01:00
parent 5efe8aa377
commit 2405721695
7 changed files with 143 additions and 23 deletions

View File

@@ -9,6 +9,6 @@ export default class AppointmentService {
};
static archiveDocument = (applicationId, documentId, body, callback, errCallback, queryParams) => {
NetworkService.post(`${API_BASE_URL}/appointment/application/${applicationId}/document/${documentId}`, {}, callback, errCallback, queryParams);
NetworkService.post(`${API_BASE_URL}/appointment/application/${applicationId}/document/${documentId}`, body, callback, errCallback, queryParams);
};
}

View File

@@ -8,6 +8,7 @@ export class NetworkService {
static REFRESH_TOKEN_KEY
static logApiError = (endpoint, status = 0, resp = {}) => {
console.log('status:', status);
if (status === 500) {
if (LOCAL_DEVELOPMENT !== '1') {
try {