Skip to content

Commit

Permalink
chore(useStrapi v5): pass params to client
Browse files Browse the repository at this point in the history
  • Loading branch information
BayBreezy committed Sep 27, 2024
1 parent 319fc08 commit a323e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/composables-v5/useStrapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const useStrapi = <T>(): StrapiV5Client<T> => {

const path = [contentType, documentId].filter(Boolean).join('/')

return client(path, { method: 'PUT', body: { data } })
return client(path, { method: 'PUT', body: { data }, params })
}

/**
Expand Down

0 comments on commit a323e95

Please sign in to comment.