mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 21:39:22 +00:00
Fix mistake
This commit is contained in:
parent
90158000c2
commit
14c3206371
@ -596,7 +596,7 @@ export class GroupsController {
|
|||||||
if(advanced) {
|
if(advanced) {
|
||||||
data["time_create"] = info.timeCreate;
|
data["time_create"] = info.timeCreate;
|
||||||
data["description"] = info.hasDescription ? info.description : "null";
|
data["description"] = info.hasDescription ? info.description : "null";
|
||||||
data["url"] = info.url ? info.hasURL : "null";
|
data["url"] = info.hasURL ? info.url : "null";
|
||||||
|
|
||||||
data["number_likes"] = await LikesHelper.Count(info.id, LikesType.GROUP);
|
data["number_likes"] = await LikesHelper.Count(info.id, LikesType.GROUP);
|
||||||
data["is_liking"] = h.signedIn ? await LikesHelper.IsLiking(h.getUserId(), info.id, LikesType.GROUP) : false;
|
data["is_liking"] = h.signedIn ? await LikesHelper.IsLiking(h.getUserId(), info.id, LikesType.GROUP) : false;
|
||||||
|
Loading…
Reference in New Issue
Block a user