Skip to content

Commit 56e5594

Browse files
committed
added group status to the DEX message
1 parent 4b37459 commit 56e5594

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Modules/Group/Events/Traits/IsPublishableApplicationEvent.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public function getPublishableMessage(): array
2424
'id' => $this->group->uuid,
2525
'name' => $this->group->displayName,
2626
'short_name' => $this->group->expertPanel->short_base_name,
27-
'status' => $this->group->group_Status,
27+
'status' => optional($this->group->groupStatus)->name, // Retrieve the status name
28+
// 'status' => $this->group->group_Status,
2829
'parent_group' => optional($this->group->parentGroup)->displayName,
2930
'type' => $this->group->fullType->name,
3031
'affiliation_id' => $this->group->expertPanel->affiliation_id

0 commit comments

Comments
 (0)