Files
automatisch/packages/backend/src/apps/eventbrite/auth/is-still-verified.js
2024-06-11 10:44:29 +02:00

9 lines
210 B
JavaScript

import getCurrentUser from '../common/get-current-user.js';
const isStillVerified = async ($) => {
const currentUser = await getCurrentUser($);
return !!currentUser.id;
};
export default isStillVerified;