From fd26e45954fc49f81c924dd0986faf3c3a0ecce7 Mon Sep 17 00:00:00 2001 From: helamanl0424 Date: Tue, 9 Apr 2024 15:24:30 -0600 Subject: [PATCH] Update addPhoto() to use store instead of overwrite --- samples/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/index.js b/samples/index.js index 553e902..72746c1 100644 --- a/samples/index.js +++ b/samples/index.js @@ -741,7 +741,7 @@ async function addPhoto(url, filename) { originURL: url, destinationURL: storeLocation }; - fetch(`${getPicoURL()}1556/sample_app/overwrite_file`, { + fetch(`${getPicoURL()}1556/sample_app/store_file`, { method: 'POST', headers: { 'Content-Type': 'application/json',