Skip to content

Commit

Permalink
Move question.service.ts to shared services folder
Browse files Browse the repository at this point in the history
  • Loading branch information
limcaaarl committed Sep 27, 2024
1 parent 129e4b0 commit 8ce20c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { HttpClient, HttpErrorResponse, HttpHeaders, HttpParams } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { API_CONFIG } from '../api.config';
import { API_CONFIG } from '../app/api.config';
import { catchError, Observable, throwError } from 'rxjs';
import { SingleQuestionResponse, QuestionResponse, QuestionBody } from './question.model';
import { TopicResponse } from './topic.model';
import { SingleQuestionResponse, QuestionResponse, QuestionBody } from '../app/questions/question.model';
import { TopicResponse } from '../app/questions/topic.model';

@Injectable({
providedIn: 'root',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/questions/questions.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { Column } from './column.model';
import { Topic } from './topic.model';
import { Difficulty } from './difficulty.model';
import { DifficultyLevels } from './difficulty-levels.enum';
import { QuestionService } from './question.service';
import { QuestionService } from '../../_services/question.service';
import { forkJoin } from 'rxjs';
import { HttpErrorResponse } from '@angular/common/http';

Expand Down

0 comments on commit 8ce20c2

Please sign in to comment.