Skip to content

Commit 6fda7b4

Browse files
committed
Fixed file param bug
1 parent e5a1028 commit 6fda7b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/examples/functions/create-tag.md

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

1111
functions = Appwrite::Functions.new(client);
1212

13-
response = functions.create_tag(function_id: '[FUNCTION_ID]', command: '[COMMAND]', code: '');
13+
response = functions.create_tag(function_id: '[FUNCTION_ID]', command: '[COMMAND]', code: Appwrite::File.new());
1414

1515
puts response

docs/examples/storage/create-file.md

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

1111
storage = Appwrite::Storage.new(client);
1212

13-
response = storage.create_file(file: '');
13+
response = storage.create_file(file: Appwrite::File.new());
1414

1515
puts response

0 commit comments

Comments
 (0)