Skip to content

Commit bb6cfe9

Browse files
fix: realtime events payload
1 parent 687a874 commit bb6cfe9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/examples/functions/create-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client
99

1010
functions = Appwrite::Functions.new(client)
1111

12-
response = functions.create_deployment(function_id: '[FUNCTION_ID]', entrypoint: '[ENTRYPOINT]', code: File.new(), activate: false)
12+
response = functions.create_deployment(function_id: '[FUNCTION_ID]', entrypoint: '[ENTRYPOINT]', code: 'dir/file.png', activate: false)
1313

1414
puts response.inspect

docs/examples/storage/create-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client
99

1010
storage = Appwrite::Storage.new(client)
1111

12-
response = storage.create_file(bucket_id: '[BUCKET_ID]', file_id: '[FILE_ID]', file: File.new())
12+
response = storage.create_file(bucket_id: '[BUCKET_ID]', file_id: '[FILE_ID]', file: 'dir/file.png')
1313

1414
puts response.inspect

0 commit comments

Comments
 (0)