feat: Organization services
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user