Update webhook_listener.py
This commit is contained in:
parent
f1311c7164
commit
b38372b65e
|
@ -5,7 +5,7 @@ import os
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
# Nastav si svůj tajný token – musí odpovídat tomu z Bitbucket webhooku
|
# Nastav si svůj tajný token musí odpovídat tomu z Bitbucket webhooku
|
||||||
WEBHOOK_SECRET = os.environ.get("BITBUCKET_WEBHOOK_SECRET", "hash")
|
WEBHOOK_SECRET = os.environ.get("BITBUCKET_WEBHOOK_SECRET", "hash")
|
||||||
|
|
||||||
def verify_signature(payload, header_signature):
|
def verify_signature(payload, header_signature):
|
||||||
|
|
Loading…
Reference in New Issue