Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter authored May 20, 2024
1 parent 10fc6a3 commit 5afb2cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _request_return(id: str, prolific_token: str):

def _approve(id: str, prolific_token: str):
__save_post(
f'https://api.prolific.com/api/v1/submissions/{sub["id"]}/transition/',
f'https://api.prolific.com/api/v1/submissions/{id}/transition/',
headers={"Authorization": f"Token {prolific_token}"},
_json={"action": "APPROVE"}
)
Expand Down

0 comments on commit 5afb2cc

Please sign in to comment.