Skip to content

Commit

Permalink
fix application creation bug (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulRahmanAlHamali authored and mergify[bot] committed Oct 28, 2019
1 parent c8e96e1 commit 7e7c898
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public class ApplicationsController {
return results
}

@PreAuthorize("@fiatPermissionEvaluator.canCreate('APPLICATION', app)")
@PreAuthorize("@fiatPermissionEvaluator.canCreate('APPLICATION', #app)")
@ApiOperation(value = "", notes = "Create an application")
@RequestMapping(method = RequestMethod.POST)
Application create(@RequestBody final Application app) {
Expand Down

0 comments on commit 7e7c898

Please sign in to comment.