submitYearOfBirth

abstract suspend fun submitYearOfBirth(year: Int): MimiUser

Submits the new year of birth to the backend and returns the updated MimiUser

The UserController.mimiUser is automatically updated to reflect the change.

Return

the updated MimiUser.

Parameters

year

the Year of Birth to be assigned to the user, e.g. 1985.

Throws

if the request cannot be successfully completed.