Skip to content

Commit

Permalink
🔥 Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mit-27 committed May 29, 2024
1 parent 4c23ba5 commit 4732ca9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
9 changes: 0 additions & 9 deletions packages/api/src/@core/connections/connections.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,7 @@ export class ConnectionsController {
}
// Performing Core Sync Service
this.coreSyncService.initialSync(vertical.toLowerCase(), providerName, linkedUserId, projectId);

this.logger.log("Performing Redirect - MS")


res.redirect(returnUrl);





} catch (error) {
handleServiceError(error, this.logger);
}
Expand Down
8 changes: 1 addition & 7 deletions packages/api/src/@core/sync/sync.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class CoreSyncService {
this.logger.setContext(CoreSyncService.name);
}

//Initial sync which will happen after connection is successfully established
//Initial sync which will execute when connection is successfully established
async initialSync(
vertical: string,
provider: string,
Expand Down Expand Up @@ -135,18 +135,12 @@ export class CoreSyncService {
} catch (error) {
handleServiceError(error, this.logger);
}


}



// we must have a sync_jobs table with 7 (verticals) rows, one of each is syncing details
async getSyncStatus(vertical: string) {
try {



} catch (error) {
handleServiceError(error, this.logger);
}
Expand Down

0 comments on commit 4732ca9

Please sign in to comment.