Little corrections
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m16s
Build and test backend / Test-backend (push) Successful in 1m18s
deploy to production / deploy-frontend (push) Successful in 25s
deploy to production / deploy-backend (push) Successful in 2m20s
Build and test FrontEnd / Build-frontend (push) Successful in 24s

This commit is contained in:
Wawilski 2024-03-11 21:45:51 +01:00 committed by Wal
parent 68df9f99fa
commit 86f1a6f17b
3 changed files with 12 additions and 11 deletions

View File

@ -1,6 +1,6 @@
<script setup> <script setup>
import {reactive, ref} from 'vue' import {reactive, ref} from 'vue'
import {getUser,register} from '../rest/Users.js' import {getUser} from '../rest/Users.js'
/* /*
const user = getUser(); const user = getUser();
*/ */
@ -11,14 +11,15 @@
role:"student", role:"student",
address: "Radiator Springs", address: "Radiator Springs",
email:"ClydeGhost@gmail.com", email:"ClydeGhost@gmail.com",
cursus:{ cursus:[
cours1:{ "id": 12, {
"id": 12,
"name": "Math pour l'info", "name": "Math pour l'info",
"credits": 11, "credits": 11,
"faculty": "science", "faculty": "science",
"teacher": 42, "teacher": 42,
"Assistants": []}, "Assistants": []},
cours2:{ {
"id": 42, "id": 42,
"name": "Fonctionnement des ordinateurs", "name": "Fonctionnement des ordinateurs",
"credits": 11, "credits": 11,
@ -26,7 +27,7 @@
"teacher": 42, "teacher": 42,
"Assistants": []}, "Assistants": []},
}, ],
option:"IT", option:"IT",
degree:"BAC1", degree:"BAC1",
password:"CeciEstUnMotDePasse123", password:"CeciEstUnMotDePasse123",
@ -41,14 +42,14 @@
role:"teacher", role:"teacher",
address: "Radiator Springs", address: "Radiator Springs",
email:"ClydeGhost@gmail.com", email:"ClydeGhost@gmail.com",
coursesOwned:{ coursesOwned:[
cours1:{ {
"id": 12, "id": 12,
"name": "Math pour l'info", "name": "Math pour l'info",
"faculty": "science", "faculty": "science",
"teacher": 42, "teacher": 42,
"Assistants": []}, "Assistants": []},
cours2:{ {
"id": 42, "id": 42,
"name": "Fonctionnement des ordinateurs", "name": "Fonctionnement des ordinateurs",
"credits": 11, "credits": 11,
@ -56,7 +57,7 @@
"teacher": 42, "teacher": 42,
"Assistants": []}, "Assistants": []},
}, ],
faculty:"Science", faculty:"Science",
})*/ })*/