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) {
4242 $ platform = 'console ' ;
4343 // $platform = 'server';
4444
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 " );
4646
4747 if (empty ($ spec )) {
4848 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) {
127127 responseType = {{ method | returnType(spec , sdk .namespace | caseDot ) | raw }}::class.java
128128 )
129129 {%~ else %}
130- val apiHeaders = mutableMapOf(
130+ val apiHeaders = mutableMapOf< String , String > (
131131 {%~ for key , header in method .headers %}
132132 "{{ key }}" to "{{ header }}",
133133 {%~ endfor %}
You can’t perform that action at this time.
0 commit comments