Skip to content

Commit

Permalink
enhancement: 메세지 전송 로그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongSH1 committed Dec 8, 2023
1 parent dc7912c commit 83cbf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noti.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ app.post('/send-notification', async (req, res) => {
const { userId, title = '무제', body = 'blank' } = req.body;

const token = await getTokenByUserId(userId);
console.log(userId, title, body, token);
console.log(`${new Date}: send title: ${title} send body: ${body}`);

const message = {
notification: {
Expand Down

0 comments on commit 83cbf7a

Please sign in to comment.