fix username spelling from userName

Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
Yannick Bungers 2021-10-13 22:28:10 +02:00 committed by David Mehren
parent be27686610
commit 40103cb397
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
23 changed files with 89 additions and 91 deletions

View file

@ -50,9 +50,9 @@ export class MeController {
for (const mediaUpload of mediaUploads) {
await this.mediaService.deleteFile(mediaUpload);
}
this.logger.debug(`Deleted all media uploads of ${user.userName}`);
this.logger.debug(`Deleted all media uploads of ${user.username}`);
await this.userService.deleteUser(user);
this.logger.debug(`Deleted ${user.userName}`);
this.logger.debug(`Deleted ${user.username}`);
}
@Post('profile')