From 1eff707e1c23f9922c038fb9fab6264b1b8b791e Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 30 Oct 2025 23:28:55 -0700 Subject: change uploadFile func to return string represents link where the file should be accessible --- include/file_uploader.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/file_uploader.hpp') diff --git a/include/file_uploader.hpp b/include/file_uploader.hpp index 6e46a8a..e8b0540 100644 --- a/include/file_uploader.hpp +++ b/include/file_uploader.hpp @@ -7,7 +7,7 @@ class FileUploader { public: virtual ~FileUploader() = default; - virtual bool uploadFile(const std::string& filepath, const std::string& remotePath) = 0; + virtual std::string uploadFile(const std::string& filepath, const std::string& remotePath) = 0; // expects public url virtual bool testConnection() = 0; }; -- cgit v1.2.3