Skip to content

Commit 51eecdd

Browse files
committed
IssuesController: convert downtime UUIDs to text
1 parent e8004b8 commit 51eecdd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

application/controllers/IssuesController.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ protected static function fixIssueResultRow($row)
119119
if (isset($row->input_uuid)) {
120120
$row->input_uuid = Uuid::fromBytes($row->input_uuid)->toString();
121121
}
122+
if (isset($row->downtime_rule_uuid)) {
123+
$row->downtime_rule_uuid = Uuid::fromBytes($row->downtime_rule_uuid)->toString();
124+
}
125+
if (isset($row->downtime_config_uuid)) {
126+
$row->downtime_config_uuid = Uuid::fromBytes($row->downtime_config_uuid)->toString();
127+
}
122128
if (isset($row->attributes)) {
123129
$row->attributes = JsonString::decode($row->attributes);
124130
}

0 commit comments

Comments
 (0)