Skip to content

Commit

Permalink
chore: remove logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicToast committed Sep 26, 2024
1 parent 483431f commit 0121698
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,8 @@ export class ViewerController {
try {
const viewer = await this.getViewerByDisplayName(display_name);
if (viewer === null) {
const newViewer =
await this.createViewerByDisplayName(display_name);
Logger.debug({ newViewer }, 'Viewer created');
return newViewer;
return await this.createViewerByDisplayName(display_name);
}
Logger.debug({ viewer }, 'Viewer found');
return viewer;
} catch (error) {
return null;
Expand Down

0 comments on commit 0121698

Please sign in to comment.