Skip to content

Commit e1a08b4

Browse files
author
Lucas Treffenstädt
committed
remove unneccessary await
1 parent 2e0d66e commit e1a08b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fetcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ async function getResponseData(response: Response) {
140140
return undefined
141141
}
142142
if (contentType && contentType.indexOf('application/json') !== -1) {
143-
return await response.json()
143+
return response.json()
144144
}
145145
const text = await response.text()
146146
try {

0 commit comments

Comments
 (0)