Skip to content

Commit

Permalink
[hotfix] chore: 버그 해결용 출력문 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
elive7 committed Jan 8, 2025
1 parent a0b5e52 commit 0ada6f6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/main/java/org/recordy/server/report/domain/Report.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ public static Report create(ReportCreate create) {

public void resolve(ApprovalStatus approvalStatus) {
this.approvalStatus = approvalStatus;
System.out.println("real approvalStatus = " + approvalStatus);
System.out.println("this.approvalStatus = " + this.approvalStatus);;
if (approvalStatus == ApprovalStatus.APPROVED) {
System.out.println("sss");
record.block();
}
else if (approvalStatus == ApprovalStatus.DISMISSED){
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/recordy/server/slack/domain/Slack.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public class Slack {
public Slack(HttpServletRequest request) {
// slackPayload 가져오기
String encodedPayload = (String) request.getAttribute("slackPayload");
System.out.println("Encoded Slack payload = " + encodedPayload);

if (encodedPayload == null || encodedPayload.isBlank()) {
throw new SlackException(ErrorMessage.SLACK_INTERACTION_FAILED);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons
String timestamp = request.getHeader("X-Slack-Request-Timestamp");
String payload = getRequestBody(requestWrapper);

System.out.println("payload = " + payload);
request.setAttribute("slackPayload", payload);

if (!method.equalsIgnoreCase("POST") || !isValidRequest(payload, signature, timestamp)) {
Expand Down

0 comments on commit 0ada6f6

Please sign in to comment.