Skip to content

Commit ba081c2

Browse files
committed
Fix name
1 parent 5f83fb9 commit ba081c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/kotlin/src/main/kotlin/io/appwrite/Client.kt.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ class Client: CoroutineScope {
158158
*
159159
* @return this
160160
*/
161-
fun setEndpoint(endPoint: String): Client {
162-
this.endPoint = endPoint
161+
fun setEndpoint(endpoint: String): Client {
162+
this.endpoint = endpoint
163163
return this
164164
}
165165

@@ -199,7 +199,7 @@ class Client: CoroutineScope {
199199
.addAll(headers.toHeaders())
200200
.build()
201201

202-
val httpBuilder = (endPoint + path).toHttpUrl().newBuilder()
202+
val httpBuilder = (endpoint + path).toHttpUrl().newBuilder()
203203

204204
if ("GET" == method) {
205205
filteredParams.forEach {

0 commit comments

Comments
 (0)