diff --git a/src/main/java/org/ntlab/amaryllis/server/resources/VoicememosRest.java b/src/main/java/org/ntlab/amaryllis/server/resources/VoicememosRest.java index e118f65..1a285a4 100644 --- a/src/main/java/org/ntlab/amaryllis/server/resources/VoicememosRest.java +++ b/src/main/java/org/ntlab/amaryllis/server/resources/VoicememosRest.java @@ -58,10 +58,6 @@ String vid = v.getVid(); return vid; } - Voicememo v = voicememos.createVoicememo(uid, time, data, latitude, longitude, title, summary); - if (v == null) { - throw new WebApplicationException(400); - } throw new WebApplicationException(400); }