File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
library/src/main/java/io/appwrite/models Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class MainActivity extends AppCompatActivity {
21
21
storage.createFile(
22
22
"[BUCKET_ID]",
23
23
"[FILE_ID]",
24
- File("./path-to-files/image.jpg "),
24
+ File("file.png "),
25
25
new Continuation<Object>() {
26
26
@NotNull
27
27
@Override
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class MainActivity : AppCompatActivity() {
20
20
val response = storage.createFile(
21
21
bucketId = "[BUCKET_ID]",
22
22
fileId = "[FILE_ID]",
23
- file = File("./path-to-files/image.jpg "),
23
+ file = File("file.png "),
24
24
)
25
25
val json = response.body?.string()
26
26
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ open class RealtimeResponse(
21
21
)
22
22
23
23
data class RealtimeResponseEvent <T >(
24
- val event : String ,
24
+ val events : Collection < String > ,
25
25
val channels : Collection <String >,
26
26
val timestamp : Long ,
27
27
var payload : T
You can’t perform that action at this time.
0 commit comments