fix revoking tokens
This commit is contained in:
parent
d449701b84
commit
bf86f03a0a
2 changed files with 3 additions and 1 deletions
|
|
@ -106,6 +106,8 @@ export const promisedRequest = async ({
|
|||
.get('content-type')
|
||||
.split(';')
|
||||
.map((x) => x.toLowerCase().trim())
|
||||
const contentLength = parseInt(response.headers.get('content-length'))
|
||||
if (contentLength === 0) return null
|
||||
|
||||
switch (contentType) {
|
||||
case 'text/plain':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue