From 14c320637158a9832b63a35bba66f000290b4ea9 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 28 Dec 2019 13:08:30 +0100 Subject: [PATCH] Fix mistake --- src/controllers/GroupsController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/GroupsController.ts b/src/controllers/GroupsController.ts index 9f0bdaf..1b7e545 100644 --- a/src/controllers/GroupsController.ts +++ b/src/controllers/GroupsController.ts @@ -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;