Skip to content

Commit 0deda93

Browse files
authored
Merge pull request #127 from madfish-solutions/tw-e2e-notifications
[TW Extension E2E] Notifications
2 parents 3c546e0 + 20c1c75 commit 0deda93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ app.post('/api/notifications', basicAuth, async (req, res) => {
150150

151151
await redisClient.lpush('notifications', JSON.stringify(newNotification));
152152

153-
res.status(200).send({ message: 'Notification added successfully' });
153+
res.status(200).send({ message: 'Notification added successfully', notification: newNotification });
154154
} catch (error: any) {
155155
res.status(500).send({ error: error.message });
156156
}

0 commit comments

Comments
 (0)