All files / src/modules/domain/account/user/services user.service.ts

0% Statements 0/7
100% Branches 0/0
0% Functions 0/2
0% Lines 0/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13                         
import { Injectable } from '@nestjs/common';
import { UserInfoRepository } from 'src/modules/common/database/postgres/account/repositories/user-info.repository';
import { ICreateUserInfo, IUserInfo } from '../shared/user.interface';
 
@Injectable()
export class UserService {
  constructor(private readonly userInfoRepository: UserInfoRepository) {}
 
  registerInfo(input: ICreateUserInfo): Promise<IUserInfo> {
    return this.userInfoRepository.create(input);
  }
}