Skip to content

Commit

Permalink
server side webhook resp logging
Browse files Browse the repository at this point in the history
  • Loading branch information
voynow committed Oct 10, 2024
1 parent 1ac1a37 commit b32ed7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,16 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'success': False}"
"{'message': 'Endpoint request timed out'}"
]
},
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
1 change: 1 addition & 0 deletions web/src/app/strava_webhook/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export async function POST(request: NextRequest) {
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(event),
});
console.log(`Response from signup API: ${JSON.stringify(response)}`);

if (response.ok) {
console.log('Successful response from signup API');
Expand Down

0 comments on commit b32ed7c

Please sign in to comment.