Skip to content

Commit a913d68

Browse files
committed
Fixed templates
1 parent 5e426ad commit a913d68

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

templates/flutter/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() { // Init SDK
1212
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
1313
{% for node in method.security %}
1414
{% for key,header in node|keys %}
15-
.set{{header}}('{{node[header]node[header]['x-appwrite']['demo'].demo}}') // {{node[header].description}}
15+
.set{{header}}('{{node[header]['x-appwrite']['demo']}}') // {{node[header].description}}
1616
{% endfor %}
1717
{% endfor %} ;
1818

templates/go/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func main() {
1212
client.SetEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
1313
{% for node in method.security %}
1414
{% for key,header in node|keys %}
15-
client.Set{{header}}("{{node[header]node[header]['x-appwrite']['demo'].demo}}") // {{node[header].description}}
15+
client.Set{{header}}("{{node[header]['x-appwrite']['demo']}}") // {{node[header].description}}
1616
{% endfor %}
1717
{% endfor %}
1818

templates/http/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sdk
2121
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
2222
{% for node in method.security %}
2323
{% for key,header in node|keys %}
24-
.set{{header}}('{{node[header]node[header]['x-appwrite']['demo'].demo}}') // {{node[header].description}}
24+
.set{{header}}('{{node[header]['x-appwrite']['demo']}}') // {{node[header].description}}
2525
{% endfor %}
2626
{% endfor %};
2727

templates/java/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ client = new Client()
88
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
99
{% for node in method.security %}
1010
{% for key,header in node|keys %}
11-
.set_{{header | caseSnake}}('{{node[header]node[header]['x-appwrite']['demo'].demo}}') # {{node[header].description}}
11+
.set_{{header | caseSnake}}('{{node[header]['x-appwrite']['demo']}}') # {{node[header].description}}
1212
{% endfor %}
1313
{% endfor %})
1414

templates/node/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ client
1313
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
1414
{% for node in method.security %}
1515
{% for key,header in node|keys %}
16-
.set{{header}}('{{node[header]node[header]['x-appwrite']['demo'].demo}}') // {{node[header].description}}
16+
.set{{header}}('{{node[header]['x-appwrite']['demo']}}') // {{node[header].description}}
1717
{% endfor %}
1818
{% endfor %};
1919

templates/php/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $client
1010
->setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
1111
{% for node in method.security %}
1212
{% for key,header in node|keys %}
13-
->set{{header}}('{{node[header]node[header]['x-appwrite']['demo'].demo}}') // {{node[header].description}}
13+
->set{{header}}('{{node[header]['x-appwrite']['demo']}}') // {{node[header].description}}
1414
{% endfor %}
1515
{% endfor %};
1616

templates/python/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ client = Client()
88
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
99
{% for node in method.security %}
1010
{% for key,header in node|keys %}
11-
.set_{{header | caseSnake}}('{{node[header]node[header]['x-appwrite']['demo'].demo}}') # {{node[header].description}}
11+
.set_{{header | caseSnake}}('{{node[header]['x-appwrite']['demo']}}') # {{node[header].description}}
1212
{% endfor %}
1313
{% endfor %})
1414

templates/ruby/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
{% for node in method.security %}
88
{% for key,header in node|keys %}
9-
.set_{{header|caseSnake}}('{{node[header]node[header]['x-appwrite']['demo'].demo}}') # {{node[header].description}}
9+
.set_{{header|caseSnake}}('{{node[header]['x-appwrite']['demo']}}') # {{node[header].description}}
1010
{% endfor %}
1111
{% endfor %};
1212

templates/swift/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ client
99
.setEndpoint(endpoint: "https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
1010
{% for node in method.security %}
1111
{% for key,header in node|keys %}
12-
.set{{header}}(value: "{{node[header]node[header]['x-appwrite']['demo'].demo}}") // {{node[header].description}}
12+
.set{{header}}(value: "{{node[header]['x-appwrite']['demo']}}") // {{node[header].description}}
1313
{% endfor %}
1414
{% endfor %}
1515

0 commit comments

Comments
 (0)