Skip to content

Commit

Permalink
adding new updates to creating todo list
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiran Gautam committed Nov 22, 2017
1 parent 861e95a commit 933faf3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/kiran/controller/SlackController.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,6 @@ public ResponseEntity<?> createRetro(@RequestBody MultiValueMap<String, String>
try {
String userName = utilities.trimString(formVars.get("user_name").toString(), 1);
String text = utilities.trimString(formVars.get("text").toString(), 1);
if (!(userName.equalsIgnoreCase("kiran"))) {
SlackResponse response = new SlackResponse("You do not have enough rights for this call.", true);
return new ResponseEntity<>(response, null, HttpStatus.OK);
}
DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
Date date = new Date();
String timeStamp = dateFormat.format(date);
Expand Down
Binary file modified target/slack-integration.jar
Binary file not shown.
Binary file modified target/slack-integration.jar.original
Binary file not shown.

0 comments on commit 933faf3

Please sign in to comment.