Skip to content

Commit

Permalink
Merge pull request #389 from iammohan01/doc-388-wrong-key-in-selectio…
Browse files Browse the repository at this point in the history
…n-option

doc - There is a wrong select option in realtime doc for kotlin example,
  • Loading branch information
Vincent (Wen Yu) Ge authored Dec 18, 2023
2 parents 7508885 + 7becf83 commit bf81024
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/routes/docs/apis/realtime/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ let subscription = realtime.subscribe(channels: ["files"]) { response in
}
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -159,7 +159,7 @@ let subscription = realtime.subscribe(channel: "account", callback: { response i
})
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit bf81024

Please sign in to comment.