debian-mirror-gitlab/app/assets/javascripts/groups/members/utils.js
2021-03-11 19:13:27 +05:30

8 lines
333 B
JavaScript

import { MEMBER_ACCESS_LEVEL_PROPERTY_NAME } from '~/members/constants';
import { baseRequestFormatter } from '~/members/utils';
import { GROUP_MEMBER_BASE_PROPERTY_NAME } from './constants';
export const groupMemberRequestFormatter = baseRequestFormatter(
GROUP_MEMBER_BASE_PROPERTY_NAME,
MEMBER_ACCESS_LEVEL_PROPERTY_NAME,
);