Skip to content

Commit

Permalink
Merge pull request #623 from bcgov/dev
Browse files Browse the repository at this point in the history
fix consumer save error failed to construct formdata (#622)
  • Loading branch information
ikethecoder committed Oct 29, 2022
2 parents 7e4d1a9 + d92005f commit 671b218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextapp/components/access-request/edit-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const ConsumerEditDialog: React.FC<ConsumerEditDialogProps> = ({
ref?.current.querySelector('form[name="ipRestrictionsForm"]') || undefined
);
const rateLimitingForm = new FormData(
ref?.current.querySelector('form[name="rateLimitingForm"]')
ref?.current.querySelector('form[name="rateLimitingForm"]') || undefined
);
const rateLimitingFormValues = Object.fromEntries(rateLimitingForm);
const rateLimitingFormHasValues = ['second', 'minute', 'hour', 'day'].some(
Expand Down

0 comments on commit 671b218

Please sign in to comment.