Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
abnegate committed Jun 18, 2024
1 parent 5f83fb9 commit ba081c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/kotlin/src/main/kotlin/io/appwrite/Client.kt.twig
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ class Client: CoroutineScope {
*
* @return this
*/
fun setEndpoint(endPoint: String): Client {
this.endPoint = endPoint
fun setEndpoint(endpoint: String): Client {
this.endpoint = endpoint
return this
}

Expand Down Expand Up @@ -199,7 +199,7 @@ class Client: CoroutineScope {
.addAll(headers.toHeaders())
.build()

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

if ("GET" == method) {
filteredParams.forEach {
Expand Down

0 comments on commit ba081c2

Please sign in to comment.