← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11617: Minor

 

------------------------------------------------------------
revno: 11617
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-08-08 16:36:55 +0200
message:
  Minor
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/event/EventController.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/event/EventController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/event/EventController.java	2013-08-08 13:54:42 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/event/EventController.java	2013-08-08 14:36:55 +0000
@@ -166,7 +166,7 @@
         updatedEvent.setEvent( uid );
 
         eventService.updateEvent( updatedEvent );
-        ContextUtils.okResponse( response, "" );
+        ContextUtils.okResponse( response, "Event updated: " + uid );
     }
 
     @RequestMapping( value = "/{uid}", method = RequestMethod.PUT, consumes = "application/json" )
@@ -185,7 +185,7 @@
         updatedEvent.setEvent( uid );
 
         eventService.updateEvent( updatedEvent );
-        ContextUtils.okResponse( response, "" );
+        ContextUtils.okResponse( response, "Event updated: " + uid );
     }
 
     /*