From 6fda7b4140e2a71f328fbe178a819306886a4ee2 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Fri, 21 May 2021 17:00:46 +0300 Subject: [PATCH] Fixed file param bug --- docs/examples/functions/create-tag.md | 2 +- docs/examples/storage/create-file.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/functions/create-tag.md b/docs/examples/functions/create-tag.md index 76cd5ff..95ec699 100644 --- a/docs/examples/functions/create-tag.md +++ b/docs/examples/functions/create-tag.md @@ -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 \ No newline at end of file diff --git a/docs/examples/storage/create-file.md b/docs/examples/storage/create-file.md index 6112345..0b71965 100644 --- a/docs/examples/storage/create-file.md +++ b/docs/examples/storage/create-file.md @@ -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 \ No newline at end of file