Skip to content

Commit aae92d5

Browse files
authored
chore(medusa): fix query http type parameter for get claim route (medusajs#13974)
## Summary **What** — What changes are introduced in this PR? Use correct HTTP type parameter for the get claim API route **Why** — Why are these changes relevant or necessary? *Please provide answer here* **How** — How have these changes been implemented? *Please provide answer here* **Testing** — How have these changes been tested, or how can the reviewer test the feature? *Please provide answer here* --- ## Examples Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice. This helps with documentation and ensures maintainers can quickly understand and verify the change. ```ts // Example usage ``` --- ## Checklist Please ensure the following before requesting a review: - [ ] I have added a **changeset** for this PR - Every non-breaking change should be marked as a **patch** - To add a changeset, run `yarn changeset` and follow the prompts - [ ] The changes are covered by relevant **tests** - [ ] I have verified the code works as intended locally - [ ] I have linked the related issue(s) if applicable --- ## Additional Context Add any additional context, related issues, or references that might help the reviewer understand this PR.
1 parent 5499cd2 commit aae92d5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/hungry-pillows-move.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/medusa": patch
3+
---
4+
5+
chore(medusa): fix query http type parameter for get claim route

packages/medusa/src/api/admin/claims/[id]/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { MedusaError } from "@medusajs/framework/utils"
77
import { AdminClaimResponse, HttpTypes } from "@medusajs/framework/types"
88

99
export const GET = async (
10-
req: AuthenticatedMedusaRequest<HttpTypes.AdminClaimActionsParams>,
10+
req: AuthenticatedMedusaRequest<{}, HttpTypes.SelectParams>,
1111
res: MedusaResponse<AdminClaimResponse>
1212
) => {
1313
const claim = await refetchEntity({

0 commit comments

Comments
 (0)