File tree Expand file tree Collapse file tree 15 files changed +15
-15
lines changed Expand file tree Collapse file tree 15 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }};
77
88Client client = new Client(context)
99{% if method .auth | length > 0 %}
10- .setEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
10+ .setEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
1111{% for node in method .auth %}
1212{% for key ,header in node | keys %}
1313 .set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ]}}"){% if loop .last %};{% endif %} // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }}
66
77val client = Client(context)
88{% if method .auth | length > 0 %}
9- .setEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
9+ .setEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
1010{% for node in method .auth %}
1111{% for key ,header in node | keys %}
1212 .set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ]}}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ void main() { // Init SDK
99
1010{% if method .auth | length > 0 %}
1111 client
12- .setEndpoint('https://[HOSTNAME_OR_IP] /v1') // Your API Endpoint
12+ .setEndpoint('https://cloud.appwrite.io /v1') // Your API Endpoint
1313{% for node in method .auth %}
1414{% for key ,header in node | keys %}
1515 .set{{header }}('{{node [header ][' x-appwrite' ]['demo' ]}}') // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ let {{ service.name | caseCamel }} = new sdk.{{service.name | caseUcfirst}}(clie
1010
1111{% if method .auth | length > 0 %}
1212client
13- .setEndpoint('https://[HOSTNAME_OR_IP] /v1') // Your API Endpoint
13+ .setEndpoint('https://cloud.appwrite.io /v1') // Your API Endpoint
1414{% for node in method .auth %}
1515{% for key ,header in node | keys %}
1616 .set{{header }}('{{node [header ][' x-appwrite' ]['demo' ]}}') // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Client client = new Client();
44
55{% if method .auth | length > 0 %}
66client
7- .SetEndPoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
7+ .SetEndPoint("https://cloud.appwrite.io /v1") // Your API Endpoint
88{% for node in method .auth %}
99{% for key ,header in node | keys %}
1010 .Set{{header | caseUcfirst }}("{{node [header ][" x-appwrite" ]["demo" ]}}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ void main() { // Init SDK
99
1010{% if method .auth | length > 0 %}
1111 client
12- .setEndpoint('https://[HOSTNAME_OR_IP] /v1') // Your API Endpoint
12+ .setEndpoint('https://cloud.appwrite.io /v1') // Your API Endpoint
1313{% for node in method .auth %}
1414{% for key ,header in node | keys %}
1515 .set{{header }}('{{node [header ][' x-appwrite' ]['demo' ]}}') // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ func main() {
1010 client := {{ spec .title | caseLower }}.NewClient()
1111
1212{% if method .auth | length > 0 %}
13- client.SetEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
13+ client.SetEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
1414{% for node in method .auth %}
1515{% for key ,header in node | keys %}
1616 client.Set{{header }}("{{node [header ][' x-{{ spec.title | caseLower }}' ]['demo' ]}}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }};
77
88Client client = new Client()
99{% if method .auth | length > 0 %}
10- .setEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
10+ .setEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
1111{% for node in method .auth %}
1212{% for key ,header in node | keys %}
1313 .set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ]}}"){% if loop .last %};{% endif %} // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }}
66
77val client = Client(context)
88{% if method .auth | length > 0 %}
9- .setEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
9+ .setEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
1010{% for node in method .auth %}
1111{% for key ,header in node | keys %}
1212 .set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ]}}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const {{ service.name | caseCamel }} = new sdk.{{service.name | caseUcfirst}}(cl
1010
1111{% if method .auth | length > 0 %}
1212client
13- .setEndpoint('https://[HOSTNAME_OR_IP] /v1') // Your API Endpoint
13+ .setEndpoint('https://cloud.appwrite.io /v1') // Your API Endpoint
1414{% for node in method .auth %}
1515{% for key ,header in node | keys %}
1616 .set{{header }}('{{node [header ][' x-appwrite' ]['demo' ]}}') // {{node [header ].description}}
You can’t perform that action at this time.
0 commit comments