1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-21 00:45:18 +00:00

Return user account image

This commit is contained in:
2020-05-26 18:45:27 +02:00
parent 11865c2bb4
commit 2b1161c3f0
3 changed files with 36 additions and 7 deletions

View File

@ -21,5 +21,5 @@ pub fn get_single(request: &mut HttpRequestHandler) -> RequestResult {
}
};
request.set_response(APIUserInfo::new(request.user_id_opt(), &user))
request.set_response(APIUserInfo::new(request.user_id_opt(), &user)?)
}