Skip to content

Commit

Permalink
fix: Use Record<string, string>
Browse files Browse the repository at this point in the history
  • Loading branch information
pettermachado committed Nov 8, 2024
1 parent 5fcb9e9 commit da29615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/soundtrack-api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function request<T, A>(
const body = JSON.stringify({ query: document, variables });
logger.trace("GraphQL request body: " + body);

const headers: HeadersInit = {
const headers: Record<string, string> = {
"Content-Type": "application/json",
"User-Agent": "scheduler-example-app/0.0.0",
};
Expand Down

0 comments on commit da29615

Please sign in to comment.