Fix config
This commit is contained in:
parent
3289e91786
commit
af46e914bb
3 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,7 @@ class PousseTaches:
|
|||
)
|
||||
resp.raise_for_status()
|
||||
|
||||
return resp.headers.get("Poussetaches-Task-ID")
|
||||
return resp.headers["Poussetaches-Task-ID"]
|
||||
|
||||
def parse(self, req: flask.Request) -> Task:
|
||||
if req.headers.get("Poussetaches-Auth-Key") != POUSSETACHES_AUTH_KEY:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue