Skip to content

Commit

Permalink
Set webhook creatorId as server authenticated userId
Browse files Browse the repository at this point in the history
  • Loading branch information
imbyungjun committed Jan 5, 2024
1 parent 85a6926 commit 4c49e3b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public class WebhookApiController {

@PostMapping
public void save(User user, @RequestBody WebhookConfig webhookConfig) {
webhookConfig.setCreatorId(user.getUserId());
webhookConfigService.save(webhookConfig);
}

Expand Down

0 comments on commit 4c49e3b

Please sign in to comment.