Update OpenDBAPI.java

This commit is contained in:
vshcherb 2020-11-26 17:40:57 +01:00 committed by GitHub
parent de58ff5f4b
commit 2f841bf23f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,11 +92,9 @@ public class OpenDBAPI {
List<String> ids = new ArrayList<>(Arrays.asList(placeId));
Map<String, Object> change = new TreeMap<>();
Map<String, Object> images = new TreeMap<>();
Map<String, Object> outdoor = new TreeMap<>();
outdoor.put("outdoor", imageResponseList);
images.put("append", outdoor);
images.put("append", imageMap);
change.put("version", "increment");
change.put("images", images);
change.put("images.review", images);
edit.put("id", ids);
edit.put("change", change);
edit.put("current", new Object());