Skip to content

Commit

Permalink
Fixed file param bug
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed May 21, 2021
1 parent e5a1028 commit 6fda7b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/functions/create-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ client

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

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

puts response
2 changes: 1 addition & 1 deletion docs/examples/storage/create-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ client

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

response = storage.create_file(file: '');
response = storage.create_file(file: Appwrite::File.new());

puts response

0 comments on commit 6fda7b4

Please sign in to comment.