@vasrefil/api-toolkit 1.14.8 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,7 +37,7 @@ exports.ApiResp = {
|
|
|
37
37
|
code: 'EPT0401', status: status_interface_1.Status.UN_AUTHORIZED, message: 'Your session has expired, Please login with your pin'
|
|
38
38
|
},
|
|
39
39
|
CRONJOB_NOT_AUTHORIZED: {
|
|
40
|
-
code: 'CRJNA401', status: status_interface_1.Status.UN_AUTHORIZED, message: '
|
|
40
|
+
code: 'CRJNA401', status: status_interface_1.Status.UN_AUTHORIZED, message: 'Cron job access failed. try again later'
|
|
41
41
|
},
|
|
42
42
|
NO_CRONJOB_TOKEN: {
|
|
43
43
|
code: 'NCRJT401', status: status_interface_1.Status.UN_AUTHORIZED, message: 'Please specify cronjob token'
|
|
@@ -134,7 +134,7 @@ class RootService {
|
|
|
134
134
|
response.message = 'Authorization failed.';
|
|
135
135
|
}
|
|
136
136
|
if (message?.includes('cronjob token')) {
|
|
137
|
-
response.message = '
|
|
137
|
+
response.message = 'Cron job access failed';
|
|
138
138
|
}
|
|
139
139
|
if (message?.includes('ETIMEDOUT')) {
|
|
140
140
|
response.message = env_1.default.ERROR_MESSAGE;
|