Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
chore(get-panels): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Arinono committed Mar 20, 2023
1 parent cc70cfe commit 64113c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/chart/get-panels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const kindsResources = ['pinGroups', 'pins'] as const;
type KindsResources = typeof kindsResources[number];

// We make eveything Partial because having everything required but allowing an empty array does not
// work. The reason is that coming from the consummer, having empty array(s) is valid, then the
// work. The reason is that coming from the consumer, having empty array(s) is valid, then the
// query goes through axios, which strips the empty query arrays. Later, when the platform receives
// the query and validated the requests, the requests does not validates against the schema anymore.
// One alternative would be to add a paramSerializer to axios to force to produce a query param for
Expand Down

0 comments on commit 64113c9

Please sign in to comment.