Skip to content

Commit 1b60399

Browse files
committed
hotfix for listing when passing in payload variables for filtering
1 parent a83e3e6 commit 1b60399

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

relationship.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ func (client *Client) ListRelationshipDefinitions(variables *PayloadVariables) (
5151
}
5252
if variables == nil {
5353
variables = client.InitialPageVariablesPointer()
54+
} else {
55+
if (*variables)["first"] == nil {
56+
(*variables)["first"] = 100
57+
}
58+
if (*variables)["after"] == nil {
59+
(*variables)["after"] = ""
60+
}
5461
}
5562
if (*variables)["componentType"] == nil {
5663
(*variables)["componentType"] = &IdentifierInput{}

0 commit comments

Comments
 (0)