make headers optional?

This commit is contained in:
Kendall Garner 2024-09-16 19:57:59 -07:00
parent 730683fe25
commit 4c49e403ab
No known key found for this signature in database
GPG key ID: 18D2767419676C87

View file

@ -242,7 +242,7 @@ export const ssApiClient = (args: {
return { return {
body: response?.data, body: response?.data,
headers: response.headers as any, headers: response?.headers as any,
status: response?.status, status: response?.status,
}; };
} }