Implements some files uploading in the inscription form and change inscriptionRequest and Curriculum for the cursus acceptance attestation feature
This commit is contained in:
		| @ -26,7 +26,7 @@ export function disconnect(){ | ||||
|  * @param curriculum  | ||||
|  * @param imageId	id of the image in database returned when uploaded | ||||
|  */ | ||||
| export async function register(firstname, lastname, birthDate, password, email, address, country, curriculumId, imageId, identityCardId, submissionDate, equivalence){ | ||||
| export async function register(firstname, lastname, birthDate, password, email, address, country, curriculumId, imageId, identityCardId, submissionDate, equivalence,admissionDocUrl){ | ||||
| 	return restPost("/register", { | ||||
| 		firstName: firstname, | ||||
| 		lastName: lastname, | ||||
| @ -39,7 +39,8 @@ export async function register(firstname, lastname, birthDate, password, email, | ||||
|     	profilePicture: imageId, | ||||
| 		identityCard : identityCardId, | ||||
| 		submissionDate : submissionDate, | ||||
| 		equivalenceState : equivalence | ||||
| 		equivalenceState : equivalence, | ||||
| 		admissionDocUrl: admissionDocUrl | ||||
| 	}); | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user