user.service

This commit is contained in:
2025-02-13 14:21:59 -06:00
parent d180cd70e8
commit 71ddc7eb3e
6 changed files with 17 additions and 12 deletions

View File

@@ -1,9 +1,11 @@
// user.controller.ts
import { Body, Controller, Post } from '@nestjs/common';
import { Body, Controller, Post, UseGuards } from '@nestjs/common';
import type { InsertUser } from '../db/schema';
import { AuthGuard } from '../service/auth.guard';
import { DrizzleService } from './drizzle.service';
@Controller('users')
@UseGuards(AuthGuard)
export class UserController {
constructor(private readonly drizzleService: DrizzleService) {}