← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12854: minor change to response message when deleting a facility

 

------------------------------------------------------------
revno: 12854
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-11-01 12:49:05 +0100
message:
  minor change to response message when deleting a facility
modified:
  dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/controller/FacilityController.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-fred/src/main/java/org/hisp/dhis/web/webapi/v1/controller/FacilityController.java'
--- dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/controller/FacilityController.java	2013-11-01 08:52:57 +0000
+++ dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/controller/FacilityController.java	2013-11-01 11:49:05 +0000
@@ -643,7 +643,7 @@
         organisationUnitService.deleteOrganisationUnit( organisationUnit );
 
         return new ResponseEntity<String>( MessageUtils.jsonMessage( HttpStatus.OK.toString(),
-            "{}" ), HttpStatus.OK );
+            "Deleted facility with ID " + id ), HttpStatus.OK );
     }
 
     //--------------------------------------------------------------------------