Skip to content

Commit

Permalink
chore: add custom-sound on allowed routes
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogarim authored and ggazzo committed Oct 16, 2024
1 parent e5594ff commit ec99cee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/meteor/app/api/server/helpers/parseJsonQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export async function parseJsonQuery(api: PartialThis): Promise<{
'/api/v1/channels.files',
'/api/v1/integrations.list',
'/api/v1/custom-user-status.list',
'/api/v1/custom-sounds.list',
].includes(route);

const isUnsafeQueryParamsAllowed = process.env.ALLOW_UNSAFE_QUERY_AND_FIELDS_API_PARAMS?.toUpperCase() === 'TRUE';
Expand Down

0 comments on commit ec99cee

Please sign in to comment.