Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const [group] = await thecamp.fetchGroups(cookies, unitName, enterDate);
const trainee = {
birth,
traineeName,
unitCode: group.unitCode,
groupId: group.groupId,
relationship: thecamp.Relationship.FRIEND,
};
const message = {
title: 'Test title',
content: 'Test content',
};
await thecamp.sendMessage(cookies, trainee, message);
})();