9 lines
318 B
JavaScript
9 lines
318 B
JavaScript
import UserInfos from '/imports/api/users-infos';
|
|
import Logger from '/imports/startup/server/logger';
|
|
|
|
export default function clearUsersInfoForRequester(meetingId, requesterUserId) {
|
|
return UserInfos.remove({ meetingId }, () => {
|
|
Logger.info(`Cleared User Infos requested by user=${requesterUserId}`);
|
|
});
|
|
}
|