saveProfileImageForUser

Saves the ProfileImage of a User. Must validate that the User exists.

Return

The Result of the operation.

Parameters

image
The encoded bytes of the image.
userId
The id of the User.
abstract suspend fun saveProfileImageForUser(userId: String, image: String): Result<String>