Skip to content

Commit 7607826

Browse files
committed
1 parent af04b7e commit 7607826

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

transforms/filter/api.graphql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ type Customer {
77
id: ID
88
name: String
99
}
10+
1011
type Query {
11-
customer(name: String): [Customer]
12+
customer(name: String!): [Customer]
1213
@rest(
13-
endpoint: "https://json2api-customers-zlwadjbovq-uc.a.run.app/customers"
14+
endpoint: "https://sample-api.us-east-a.apiconnect.automation.ibm.com/api/customers"
1415
ecmascript: """
1516
function transformREST(s) {
1617
var name = get('name')

0 commit comments

Comments
 (0)