Skip to content

Commit

Permalink
Merge pull request #505 from internxt/fix/upload
Browse files Browse the repository at this point in the history
Refactor: Removed unused function
  • Loading branch information
ArceDanielShok authored Aug 1, 2024
2 parents e367d51 + cd045a8 commit 2bed40b
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 2bed40b

Please sign in to comment.