Skip to content

Commit 0202606

Browse files
committed
refactor: explicitly declare async function
1 parent 330db63 commit 0202606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export async function fetchStac(
1212
Accept: "application/json",
1313
},
1414
body,
15-
}).then((response) => {
15+
}).then(async (response) => {
1616
if (response.ok) {
1717
return response
1818
.json()

0 commit comments

Comments
 (0)