From 73275be16fe3d80c4d4c7975b1eb8881600ceb55 Mon Sep 17 00:00:00 2001 From: Embbnux Ji Date: Fri, 16 Jun 2023 10:19:09 +0800 Subject: [PATCH] chore: fix sandbox status 502 issue (#219) --- sdk/src/SDK-spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/src/SDK-spec.ts b/sdk/src/SDK-spec.ts index ad05269..b217ad7 100644 --- a/sdk/src/SDK-spec.ts +++ b/sdk/src/SDK-spec.ts @@ -10,8 +10,8 @@ describe('RingCentral.SDK', () => { clientSecret: '', }); - // sandbox's /restapi/v1.0 throws a weird error, but /restapi/v1.0/status works fine - const res = await sdk.platform().get('/restapi/v1.0/status', null, {skipAuthCheck: true}); + // sandbox's /restapi/v1.0/status triggers service overloaded very easily, but /restapi/v1.0 works fine + const res = await sdk.platform().get('/restapi/v1.0', null, {skipAuthCheck: true}); await sdk.cache().clean();