-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
82 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,14 @@ public String sendMessage(@HeaderParam("Authorization") String token, | |
@POST | ||
@Path("/send/email") | ||
public String sendReminder(@HeaderParam("Authorization") String token, | ||
@PathParam("account") String account, @DefaultValue("application/json") @HeaderParam("Accept") String accept) { | ||
@PathParam("account") String account, | ||
@DefaultValue("application/json") @HeaderParam("Accept") String accept) { | ||
if (!validCredentials(token)) | ||
return serialise(getInvalidCredentialsBean(), accept); | ||
|
||
MailDelegator md = new MailDelegator(token); | ||
|
||
String tomail = "[email protected]"; | ||
md.sendReminders(); | ||
|
||
return null; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8fb6118
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit was not good
8fb6118
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just being curious, what do you mean by that?
8fb6118
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weekly email with a summary of the contributions you've missed that week