mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2025-07-09 06:00:12 +02:00
removed user id on all assets
This commit is contained in:
parent
846b24e35c
commit
ee314f520d
@ -2,7 +2,6 @@ import { ForbiddenException, Injectable } from '@nestjs/common';
|
|||||||
import { PrismaService } from '../prisma/prisma.service';
|
import { PrismaService } from '../prisma/prisma.service';
|
||||||
import { checkUserHasAccount, checkuserIsAdmin } from 'src/utils/checkUser';
|
import { checkUserHasAccount, checkuserIsAdmin } from 'src/utils/checkUser';
|
||||||
import { OfferDto } from './dto';
|
import { OfferDto } from './dto';
|
||||||
// import { checkRoleLevel, checkUserIsStaff } from 'src/utils/checkUser';
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class OfferService {
|
export class OfferService {
|
||||||
constructor(private prisma: PrismaService) {}
|
constructor(private prisma: PrismaService) {}
|
||||||
|
@ -14,7 +14,6 @@ export class UserService {
|
|||||||
id: userId,
|
id: userId,
|
||||||
},
|
},
|
||||||
select: {
|
select: {
|
||||||
id: true,
|
|
||||||
firstName: true,
|
firstName: true,
|
||||||
lastName: true,
|
lastName: true,
|
||||||
dollarAvailables: true,
|
dollarAvailables: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user