Skip to content

Commit

Permalink
migrate suspicious-sessions.service
Browse files Browse the repository at this point in the history
  • Loading branch information
coolchock committed Nov 27, 2024
1 parent 463cbde commit e73c926
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { HttpClient, HttpParams } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Injectable, inject } from '@angular/core';
import { SuspiciousExamSessions, SuspiciousSessionsAnalysisOptions } from 'app/entities/exam/exam-session.model';
import { Observable } from 'rxjs';

@Injectable({
providedIn: 'root',
})
export class SuspiciousSessionsService {
constructor(private http: HttpClient) {}
private http = inject(HttpClient);

getSuspiciousSessions(courseId: number, examId: number, options: SuspiciousSessionsAnalysisOptions): Observable<SuspiciousExamSessions[]> {
let params = new HttpParams()
Expand Down

0 comments on commit e73c926

Please sign in to comment.