"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrganizationEmailsService = void 0;
const OrganizationEmails_model_1 = require("../models/OrganizationEmails.model");
class OrganizationEmailsService {
    async getEmail(organizationId, type) {
        return OrganizationEmails_model_1.OrganizationEmail.findOne({ organizationId, type }).lean();
    }
}
exports.OrganizationEmailsService = OrganizationEmailsService;
