Skip to content

Commit 6b345cf

Browse files
committed
fix: update webhook signature header to match API specification
1 parent 1e441c9 commit 6b345cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ app = Flask(__name__)
513513

514514
@app.route('/webhook', methods=['POST'])
515515
def webhook():
516-
signature = request.headers.get('X-Bundleup-Signature')
516+
signature = request.headers.get('Bundleup-Signature')
517517
payload = request.get_data()
518518

519519
if not verify_signature(payload, signature):
@@ -562,7 +562,7 @@ def bundleup_webhook(request):
562562
if request.method != 'POST':
563563
return HttpResponseForbidden()
564564

565-
signature = request.META.get('HTTP_X_BUNDLEUP_SIGNATURE')
565+
signature = request.META.get('HTTP_BUNDLEUP_SIGNATURE')
566566
payload = request.body
567567

568568
if not verify_signature(payload, signature):
@@ -1147,7 +1147,7 @@ We welcome contributions to the BundleUp Python SDK! Here's how you can help:
11471147
This package is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
11481148

11491149
```
1150-
Copyright (c) 2024 BundleUp
1150+
Copyright (c) 2026 BundleUp
11511151
11521152
Permission is hereby granted, free of charge, to any person obtaining a copy
11531153
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)