From f84fc56f8565cf3342c423b5dab4ede748eee104 Mon Sep 17 00:00:00 2001 From: Olivier Bagot Date: Sun, 24 Nov 2013 20:59:15 +0100 Subject: [PATCH] Fixed filenames in snapshot_list. --- handlers.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/handlers.js b/handlers.js index 2ddbd78..a6aba9d 100644 --- a/handlers.js +++ b/handlers.js @@ -465,10 +465,10 @@ function snapshot_list(res, req) { log.trace('snapshot_list: begin'); var data = '{"snapshots":[' - + '{"id":"snapshot_2013_11_10_09_00_00"},' - + '{"id":"snapshot_2013_11_10_09_01_00"},' - + '{"id":"snapshot_2013_11_10_09_02_00"},' - + '{"id":"snapshot_2013_11_10_09_03_00"}' + + '{"id":"snapshot_2013_11_10_09_00_00.jpg"},' + + '{"id":"snapshot_2013_11_10_09_01_00.jpg"},' + + '{"id":"snapshot_2013_11_10_09_02_00.jpg"},' + + '{"id":"snapshot_2013_11_10_09_03_00.jpg"}' + '],"return":"0"}'; sendResponse(res, data);