Start Umbau zu postgres
This commit is contained in:
@@ -25,9 +25,9 @@ export class UserService {
|
||||
}, {
|
||||
dataStructure: 'JSON'
|
||||
})
|
||||
constructor(@Inject(REDIS_CLIENT) private readonly redis: any,private fileService:FileService){
|
||||
this.userRepository = new Repository(this.userSchema, redis)
|
||||
this.userRepository.createIndex();
|
||||
constructor(private fileService:FileService){
|
||||
// this.userRepository = new Repository(this.userSchema, redis)
|
||||
// this.userRepository.createIndex();
|
||||
}
|
||||
async getUserById( id:string){
|
||||
const user = await this.userRepository.fetch(id) as UserEntity;
|
||||
|
||||
Reference in New Issue
Block a user