You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
366 B
13 lines
366 B
import apiClient from "@/api/client";
|
|
import { EXERCICES } from "@/api/endpoints";
|
|
import { AbstractService } from "../abstract.service";
|
|
|
|
export class ExerciceService extends AbstractService {
|
|
async getExercices() {
|
|
return this.request(async () => {
|
|
const response = await apiClient.get(EXERCICES.GETALL);
|
|
return response.data.data;
|
|
});
|
|
}
|
|
}
|