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