Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

274 B
Raw Blame
import { isOrgAdminFor } from '../../billing/middlewares/is-org-admin-for'
import { InvoicesRepository } from '../InvoicesRepository'

const repository = new InvoicesRepository()

export const isOrgAdminForInvoice = isOrgAdminFor((id) => repository.fetchOrganizationId(id))