Usersettings

This commit is contained in:
Bastian Wagner
2025-01-24 14:11:23 +01:00
parent 2674ec0d24
commit e05b6cfc42
12 changed files with 281 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ export class UserRepository extends Repository<User> {
}
findById(id: string): Promise<User> {
return this.findOne({ where: { id }, relations: ['external'] });
return this.findOne({ where: { id }, relations: ['external', 'settings'] });
}
async createUser(createUserDto: CreateUserDto): Promise<User> {