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

Add survey posts support

This commit is contained in:
2020-07-04 16:44:42 +02:00
parent 1e956cdcb5
commit 8d5013b00a
12 changed files with 237 additions and 13 deletions

View File

@ -20,5 +20,5 @@ pub fn get_list_user(r: &mut HttpRequestHandler) -> RequestResult {
.set_start_from(start_from)
.get_user(&user_id)?;
r.set_response(PostAPI::for_list(&posts)?)
r.set_response(PostAPI::for_list(&posts, r.user_id_opt())?)
}