You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When duplicating templates, isTemplate is being sent to the backend as a body parameter.
This is legacy code that was used to reset form.customLogo to undefined so that the form logos are not copied over. However, form.customLogo is a deprecated key and will be removed from the codebase (#787), and the isTemplate body parameter is actually not doing anything.
This issue is opened to track the removal of validating isTemplate when frontend has stopped including it in the body parameter.
The text was updated successfully, but these errors were encountered:
* feat(AuthSvc): add getFormIfPublic service fn (and tests)
* test(FormSvc): add tests for isFormPublic function
* feat(AdminFormCtl): add handleCopyTemplateForm handler fn
* feat(AdminFormRoutes): add Joi validation to /adminform/copy api
* ref(AdminFormRoutes): use new handleCopyTemplateForm handler
* feat: remove and track sending of isTemplate param when using template
related to #792
* test(AdminFormCtl): add tests for handleCopyTemplateForm
* feat: remove unused adminForms.duplicate function
* feat(AuthSvc): make overridden error message more generic
* ref(AdminFormCtl): unnest call to get dashboard view of duped form
When duplicating templates,
isTemplate
is being sent to the backend as a body parameter.This is legacy code that was used to reset
form.customLogo
toundefined
so that the form logos are not copied over. However,form.customLogo
is a deprecated key and will be removed from the codebase (#787), and theisTemplate
body parameter is actually not doing anything.This issue is opened to track the removal of validating
isTemplate
when frontend has stopped including it in the body parameter.The text was updated successfully, but these errors were encountered: