invoke

open suspend operator override fun invoke(imageDataPath: <Error class: unknown class>, imageDataSize: Long): UploadAvatarResult

Function allowing the upload of a user profile picture (avatar) This first will upload the data as an asset and then will link this asset with the User

Return

UploadAvatarResult with UserAssetId in case of success or CoreFailure on failure

Parameters

imageDataPath

data Path of the actual picture