This commit is contained in:
2026-02-17 21:19:08 +07:00
parent 1d5c6f3348
commit 0744642985
2 changed files with 4 additions and 4 deletions

View File

@@ -341,10 +341,10 @@ function smartsend(
response = fileserverUploadHandler(fileserver_url, dataname, payload_bytes)
if response["status"] != 200 # Check if upload was successful
error("Failed to upload data to fileserver: $(response[:status])") # Throw error if upload failed
error("Failed to upload data to fileserver: $(response["status"])") # Throw error if upload failed
end
url = response[:url] # URL for the uploaded data
url = response["url"] # URL for the uploaded data
log_trace(cid, "Uploaded to URL: $url") # Log successful upload
# Create msgPayload_v1 for link transport