Skip to content

Commit

Permalink
Refactor: Removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
ArceDanielShok committed Aug 1, 2024
1 parent e367d51 commit cd045a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/apps/shared/HttpClient/HttpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class AuthorizedHttpClient {
private handleUnauthorizedResponse(error: AxiosError) {
if (error?.response?.status === 401) {
Logger.warn('[AUTH] Request unauthorized');
this.unauthorizedNotifier();
// this.unauthorizedNotifier();
}

// Prevent the token from being displayed in the logs
Expand Down
4 changes: 0 additions & 4 deletions src/context/virtual-drive/files/application/FileCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ export class FileCreator {

Logger.debug('[DEBUG IN FILECREATOR STEEP 3]' + filePath.value);

const existingPersistedFile = await this.remote.checkStatusFile(contents.id);

Logger.debug('[DEBUG IN FILECREATOR STEEP 3.1]' + existingPersistedFile);

const persistedAttributes = await this.remote.persist(offline);

Logger.debug('[DEBUG IN FILECREATOR STEEP 4]' + filePath.value);
Expand Down

0 comments on commit cd045a8

Please sign in to comment.