Skip to content

Commit

Permalink
Add transform function to resolve parameter for boolean handling
Browse files Browse the repository at this point in the history
  • Loading branch information
theorm committed Nov 20, 2024
1 parent a144ebe commit 7d9c9e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/entities/entities.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const findAndGetParamsHooks = [
},
resolve: {
required: false,
transform: (v: any) => v === 'true' || v === true,
},
order_by: utils.orderBy({
values: orderByMap,
Expand Down

0 comments on commit 7d9c9e6

Please sign in to comment.