From 7becf83b878e56ddc1376d4bef6cf91d43d88a55 Mon Sep 17 00:00:00 2001 From: "mohansundaram.j" Date: Mon, 27 Nov 2023 23:23:30 +0530 Subject: [PATCH] doc - There is a wrong select option in realtime doc for kotlin example, --- src/routes/docs/apis/realtime/+page.markdoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/routes/docs/apis/realtime/+page.markdoc b/src/routes/docs/apis/realtime/+page.markdoc index 0235a8e338..2498646157 100644 --- a/src/routes/docs/apis/realtime/+page.markdoc +++ b/src/routes/docs/apis/realtime/+page.markdoc @@ -66,7 +66,7 @@ let subscription = realtime.subscribe(channels: ["files"]) { response in } ``` -```java +```kotlin import io.appwrite.Client import io.appwrite.services.Realtime @@ -159,7 +159,7 @@ let subscription = realtime.subscribe(channel: "account", callback: { response i }) ``` -```java +```kotlin import io.appwrite.Client import io.appwrite.services.Realtime @@ -230,7 +230,7 @@ realtime.subscribe(channels: ["databases.A.collections.A.documents.A", "files"]) } ``` -```java +```kotlin import io.appwrite.Client import io.appwrite.services.Realtime @@ -303,7 +303,7 @@ let subscription = realtime.subscribe(channel: "files") { response in subscription.close() ``` -```java +```kotlin import io.appwrite.Client import io.appwrite.services.Realtime @@ -490,7 +490,7 @@ let client = Client() client.setEndpointRealtime("wss://cloud.appwrite.io/v1/realtime") ``` -```java +```kotlin import io.appwrite.Client val client = Client(context)