(id: string)
| 20 | |
| 21 | export const makeUserStore = (db: DrizzleDb) => { |
| 22 | const getOrganization = async (id: string) => { |
| 23 | const rows = await db.select().from(organizations).where(eq(organizations.id, id)); |
| 24 | return rows[0] ?? null; |
| 25 | }; |
| 26 | |
| 27 | const slugTaken = async (slug: string) => { |
| 28 | const rows = await db |
no outgoing calls
no test coverage detected