mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
14 lines
264 B
TypeScript
14 lines
264 B
TypeScript
import { prisma } from '@documenso/prisma';
|
|
|
|
export const findSubscriptions = async () => {
|
|
return prisma.subscription.findMany({
|
|
select: {
|
|
id: true,
|
|
status: true,
|
|
createdAt: true,
|
|
periodEnd: true,
|
|
userId: true,
|
|
},
|
|
});
|
|
};
|