Ignore:
Timestamp:
Apr 5, 2012, 6:36:41 PM (10 years ago)
Author:
work@…
Message:
  • updated api
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/api/ApiService.groovy

    r2211 r2212  
    179179            response.sendError(401, "Unauthorized")
    180180        } else if (!item) {
    181             // no results
     181            // no results, invalid 'item'
    182182            response.sendError(400, "No such ${itemName}")
    183183        } else if (item.respondsTo('canRead') && !item.canRead(user)) {
Note: See TracChangeset for help on using the changeset viewer.