diff options
Diffstat (limited to 'app/assets/javascripts/projects/members/utils.js')
-rw-r--r-- | app/assets/javascripts/projects/members/utils.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/javascripts/projects/members/utils.js b/app/assets/javascripts/projects/members/utils.js new file mode 100644 index 00000000000..0dd8de58223 --- /dev/null +++ b/app/assets/javascripts/projects/members/utils.js @@ -0,0 +1,8 @@ +import { baseRequestFormatter } from '~/members/utils'; +import { PROJECT_MEMBER_BASE_PROPERTY_NAME } from './constants'; +import { MEMBER_ACCESS_LEVEL_PROPERTY_NAME } from '~/members/constants'; + +export const projectMemberRequestFormatter = baseRequestFormatter( + PROJECT_MEMBER_BASE_PROPERTY_NAME, + MEMBER_ACCESS_LEVEL_PROPERTY_NAME, +); |