uptime-kuma/server
Matthew Nickson 63e408f4f2
Fixed octopush legacy doesn't return error code
The octopush legacy API does not return a HTTP error code and instead
always returns a HTTP 200. This means that no error it thrown even if
something like the parameters are incorrect.
Instead the error code is given in the json response data.
Therefore we must look at the response data and check for the presence
of the "error_code" key in the response data.

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2022-10-01 15:42:34 +01:00
..
jobs Update JSDoc for better clarity 2022-04-22 18:42:47 +01:00
model Merge remote-tracking branch 'origin/master' into introduce-resend-interval 2022-08-13 13:24:00 +08:00
modules/apicache Made value nullable in apicache JSDoc 2022-04-22 19:42:42 +01:00
notification-providers Fixed octopush legacy doesn't return error code 2022-10-01 15:42:34 +01:00
routers Merge pull request #1735 from woooferz/patch-1 2022-08-29 21:19:15 +08:00
socket-handlers Fix and improve test docker host 2022-07-29 20:57:13 +08:00
2fa.js Add JSDoc to server/* 2022-04-20 19:56:40 +01:00
auth.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
cacheable-dns-http-agent.js Add CacheableDnsHttpAgent.install() 2022-07-18 23:32:45 +08:00
check-version.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
client.js Fix save docker host issue 2022-07-30 19:48:12 +08:00
config.js PR feedback 2022-01-04 16:01:40 +01:00
database.js Merge remote-tracking branch 'origin/master' into introduce-resend-interval 2022-08-13 13:24:00 +08:00
docker.js Fix save docker host issue 2022-07-30 19:48:12 +08:00
image-data-uri.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
jobs.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
notification.js feat: Add ServerChan Notification support 2022-09-23 23:27:22 +08:00
password-hash.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
ping-lite.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
prometheus.js Merge pull request #1565 from Saibamen/eslint 2022-04-27 15:00:49 +08:00
proxy.js Update linters 2022-04-26 01:26:57 +02:00
rate-limiter.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
server.js Merge remote-tracking branch 'origin/master' into test/add-cypress-tests 2022-09-09 16:32:23 +08:00
settings.js Cache settings, reduce the database / disk usage 2022-06-29 16:18:56 +08:00
uptime-kuma-server.js Fix getClientIP 2022-08-01 15:42:58 +08:00
util-server.js Merge remote-tracking branch 'origin/master' into test/add-cypress-tests 2022-09-09 16:32:23 +08:00