Skip to content

Commit

Permalink
eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed May 21, 2024
1 parent 0dea219 commit 206cf6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-drupal/src/hooks/useApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const defaultHeaders: { [key: string]: { [key: string]: any } } = {
Accept: 'application/json',
},
del: {},
get: {},
patch: {
'Content-Type': 'application/json',
},
Expand All @@ -21,7 +22,6 @@ const defaultHeaders: { [key: string]: { [key: string]: any } } = {
put: {
'Content-Type': 'application/json',
},
get: {},
}

export function useApi(
Expand Down

0 comments on commit 206cf6e

Please sign in to comment.