lint
This commit is contained in:
@@ -28,4 +28,4 @@ export class UserSession {
|
||||
|
||||
/**
|
||||
* 考虑是否使用sessionId代替id,以节省存储空间
|
||||
*/
|
||||
*/
|
||||
|
||||
@@ -18,7 +18,7 @@ export class UserService {
|
||||
constructor(
|
||||
@InjectRepository(User)
|
||||
private readonly userRepository: Repository<User>,
|
||||
) { }
|
||||
) {}
|
||||
|
||||
/**
|
||||
* @deprecated 尽量不使用该方法
|
||||
@@ -40,7 +40,7 @@ export class UserService {
|
||||
return this.userRepository.findOne({
|
||||
where: {
|
||||
userId,
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user