Skip to content
Snippets Groups Projects
Commit 0a3cee17 authored by paf's avatar paf
Browse files

use patch for test/{id}/lock endpoint

parent c432d310
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ export class BackendService {
lockBooklet(testId: number): Observable<boolean | ServerError> {
return this.http
.post<boolean>(this.serverUrl + `test/${testId}/lock`, {})
.patch<boolean>(this.serverUrl + `test/${testId}/lock`, {})
.pipe(catchError(ErrorHandler.handle));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment