Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnetteeee committed Nov 13, 2024
1 parent 6ec4fa1 commit b78263a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions peer-prep-collab/src/models/question.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ export interface Question {
question_description: string;
question_categories: string[];
question_complexity: string;
}
// defined to match json keys from questions service
// todo: figure out a better way to handle this (reminder: camelCase)
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export class MatchModalComponent implements OnInit, OnDestroy {
console.log('RESPONSE FROM FINDMATCH ', response);
console.log('TIMEOUT FROM FINDMATCH ', response.timeout);

// TODO (in BE too): UI if matching process gets disrupted (e.g. rabbitmq server goes down) - avoid silent failures
if (response.timeout) {
this.clearFrontendTimeout();
this.handleMatchResponseUi(response);
Expand Down Expand Up @@ -244,7 +243,6 @@ export class MatchModalComponent implements OnInit, OnDestroy {
this.findMatch();
}

// TODO: HANDLE CANCEL MATCH - SYNC W MATCHING SVC BE PEEPS @KERVYN @IVAN
async cancelMatch() {
this.isVisible = false;
await this.matchService.cancelMatchRequest(this.userData.user_id);
Expand Down

0 comments on commit b78263a

Please sign in to comment.