mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
refactor: refactoring du FRONT page subscribe
This commit is contained in:
9
Front-End/src/app/lib/schoolAction.js
Normal file
9
Front-End/src/app/lib/schoolAction.js
Normal file
@ -0,0 +1,9 @@
|
||||
import {
|
||||
BE_SCHOOL_SCHOOLCLASSES_URL
|
||||
} from '@/utils/Url';
|
||||
|
||||
export const fetchClasses = () => {
|
||||
return fetch(`${BE_SCHOOL_SCHOOLCLASSES_URL}`)
|
||||
.then(response => response.json())
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user