1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-28 14:38:52 +00:00

Fix mistake

This commit is contained in:
Pierre HUBERT 2019-12-28 13:08:30 +01:00
parent 90158000c2
commit 14c3206371

View File

@ -596,7 +596,7 @@ export class GroupsController {
if(advanced) {
data["time_create"] = info.timeCreate;
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["is_liking"] = h.signedIn ? await LikesHelper.IsLiking(h.getUserId(), info.id, LikesType.GROUP) : false;