Skip to content

Commit

Permalink
🐛 Add fix
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Jul 8, 2024
1 parent 4f3ec54 commit 50aa62e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/api/src/@core/sync/sync.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export class CoreSyncService {
case ConnectorCategory.FileStorage:
await this.handleFileStorageSync(provider, linkedUserId);
break;
case ConnectorCategory.Ats:
await this.handleAtsSync(provider, linkedUserId);
break;
}
} catch (error) {
throw error;
Expand Down Expand Up @@ -248,6 +251,10 @@ export class CoreSyncService {
//TODO
}

async handleAtsSync(provider: string, linkedUserId: string) {
//TODO
}

// we must have a sync_jobs table with 7 (verticals) rows, one of each is syncing details
async getSyncStatus(vertical: string) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class HubspotService implements ITicketService {
this.logger.setContext(
TicketingObject.ticket.toUpperCase() + ':' + HubspotService.name,
);
this.registry.registerService('hubspot_t', this);
this.registry.registerService('hubspot', this);
}
async addTicket(
ticketData: HubspotTicketInput,
Expand Down

0 comments on commit 50aa62e

Please sign in to comment.