feat: Organization services

This commit is contained in:
sauravdhakal12
2026-02-22 15:47:45 +05:45
parent f4c9174752
commit afed1731d2
42 changed files with 862 additions and 17 deletions

View File

@@ -28,6 +28,14 @@ export class UserService {
});
}
async getById(id: string) {
return await this.prisma.user.findUnique({
where: {
id: id,
},
});
}
async updateRefreshToken(id: string, refreshToken: string) {
return await this.prisma.user.update({
where: { id },