File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
android/library/src/main/java/io/package/services
kotlin/src/main/kotlin/io/appwrite/services Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class {{ service.name | caseUcfirst }}(client: Client) : Service(client) {
4343 {%~ if method .parameters .all | reduce((carry , param ) => carry or not param .required ) %}
4444 @JvmOverloads
4545 {%~ endif %}
46- suspend fun {% if method .responseModel | hasGenericType(spec ) %}{{ ' <T>' | raw }} {% endif %}{{ method .name | caseCamel }}(
46+ suspend fun {% if method .responseModel | hasGenericType(spec ) %}{{ ' <T>' | raw }} {% endif %}{{ method .name | caseCamel | escapeKeyword }}(
4747 {%~ if method .type == " webAuth" %}
4848 activity: ComponentActivity,
4949 {%~ endif %}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class {{ service.name | caseUcfirst }}(client: Client) : Service(client) {
3636 @JvmOverloads
3737 {%~ endif %}
3838 @Throws({{ spec .title | caseUcfirst }}Exception::class)
39- suspend fun {% if method .responseModel | hasGenericType(spec ) %}{{ ' <T>' | raw }} {% endif %}{{ method .name | caseCamel }}(
39+ suspend fun {% if method .responseModel | hasGenericType(spec ) %}{{ ' <T>' | raw }} {% endif %}{{ method .name | caseCamel | escapeKeyword }}(
4040 {%~ for parameter in method .parameters .all %}
4141 {{ parameter .name | caseCamel }}: {{ parameter | typeName }}{%~ if not parameter .required or parameter .nullable %}? = null{% endif %},
4242 {%~ endfor %}
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ public void test() throws IOException {
140140 writeToFile (ex .toString ());
141141 }
142142
143- general .enum (MockType .FIRST , new CoroutineCallback <>(this ::writeMockResult ));
143+ general .xenum (MockType .FIRST , new CoroutineCallback <>(this ::writeMockResult ));
144144
145145 try {
146146 general .error400 ();
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ class ServiceTest {
135135 writeToFile(ex.toString())
136136 }
137137
138- mock = general.enum (MockType .FIRST )
138+ mock = general.xenum (MockType .FIRST )
139139 writeToFile(mock.result)
140140
141141 try {
You can’t perform that action at this time.
0 commit comments