File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
templates/android/library/src/main/java/io/package/services Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function getSSLPage($url) {
42
42
$ platform = 'console ' ;
43
43
// $platform = 'server';
44
44
45
- $ spec = getSSLPage ("https://raw.githubusercontent.com/appwrite/appwrite/1.7.x /app/config/specs/swagger2-latest- {$ platform }.json " );
45
+ $ spec = getSSLPage ("https://raw.githubusercontent.com/appwrite/appwrite/fix-headers /app/config/specs/swagger2-latest- {$ platform }.json " );
46
46
47
47
if (empty ($ spec )) {
48
48
throw new Exception ('Failed to fetch spec from Appwrite server ' );
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ class {{ service.name | caseUcfirst }}(client: Client) : Service(client) {
127
127
responseType = {{ method | returnType(spec , sdk .namespace | caseDot ) | raw }}::class.java
128
128
)
129
129
{%~ else %}
130
- val apiHeaders = mutableMapOf(
130
+ val apiHeaders = mutableMapOf< String , String > (
131
131
{%~ for key , header in method .headers %}
132
132
"{{ key }}" to "{{ header }}",
133
133
{%~ endfor %}
You can’t perform that action at this time.
0 commit comments