Skip to content

Commit 80403cd

Browse files
committed
Return tests as json.
1 parent 1f6b089 commit 80403cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function createPatternNode($row) {
152152
'favorite' => !is_null(idx($row, 'favorite')),
153153
'access' => idx($row, 'visibility'),
154154
'mode' => idx($row, 'mode'),
155-
'tests' => idx($row, 'tests')
155+
'tests' => json_decode(idx($row, 'tests'))
156156
);
157157

158158
return $result;

0 commit comments

Comments
 (0)