Skip to content

Commit 2ff4034

Browse files
committed
add empty relations array if there is none
1 parent 40c96c3 commit 2ff4034

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ pub fn match_prefix_output(store: &Store, prefix: Prefix, match_options: MatchOp
9898
builder.member_str("type", &recs.match_type);
9999
builder.member_raw("meta", "[]");
100100
builder.member_raw("members", "[]");
101+
builder.member_raw("relations", "[]");
101102
}
102103

103104
// See whether the result_prefix has a DelExtRecord, if it does

0 commit comments

Comments
 (0)