Skip to content

Commit

Permalink
create-ticket: fix request
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHaul authored and drjova committed Aug 8, 2024
1 parent 181b542 commit 40d7fc2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workflows/plugins/hooks/inspirehep/inspire_http_hook.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import json
import logging

import requests
Expand Down Expand Up @@ -60,6 +59,6 @@ def call_api(self, method: str, endpoint: str, data: dict) -> Response:
_retry_args=self.tenacity_retry_kwargs,
endpoint=endpoint,
headers=self.headers,
data=json.dumps(data),
data=data,
method=method,
)

0 comments on commit 40d7fc2

Please sign in to comment.