Skip to content

Commit d9d1faf

Browse files
Debugging subscription button api request body data.
1 parent 565c0b8 commit d9d1faf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/jobs/SubscribeButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ const SubscribeButton: React.FC = () => {
1515
type: 'web', // Add type explicitly
1616
}
1717

18+
console.log('Subscribing to notifications:', subData)
19+
1820
await fetch('/api/subscribe', {
1921
method: 'POST',
2022
headers: { 'Content-Type': 'application/json' },

0 commit comments

Comments
 (0)