[go: up one dir, main page]

Use request utilities instead of straight axios usage in community program components

We should follow the project pattern and avoid using axios straightly in the component. Rather to create utility and sanitize parameters as a part of it. See example here.

This issue covers components under ~/javascripts/subscription/components/community_program/.

More information in the original thread here: https://gitlab.com/gitlab-com/marketing/developer-relations/strategy-programs/open-source-program/gitlab-for-open-source/-/issues/51#note_2473519230

Edited by Michael Lunøe