Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function createGroup(
groupItem: any,
authentication: interfaces.UserSession
): Promise<{ success: boolean; group: interfaces.IGroup }> {
const requestOptions = {
group: groupItem,
authentication: authentication
};
return portal.createGroup(requestOptions);
}