create token decorator and consumer module

This commit is contained in:
2026-03-16 17:56:51 +03:30
parent 0ad6a3200e
commit 69e9a0d082
38 changed files with 1027 additions and 66 deletions
@@ -8,8 +8,6 @@ export class AccountsService {
constructor(private readonly prisma: PrismaService) {}
async findAll(userId: string) {
console.log('first')
// const accounts = await this.prisma.account.findMany({
// where: { user_id: userId },
// omit: { password: true, user_id: true },