Skip to content

Commit

Permalink
Point hmac to the correct value (#580)
Browse files Browse the repository at this point in the history
* Point hmac to the correct value

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
mitt3n and pre-commit-ci[bot] committed Jun 25, 2024
1 parent 113098b commit 93ee056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steam/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ async def send_media(self, media: Media, **kwargs: int) -> None:
"success": 1,
"ugcid": result["ugcid"],
"timestamp": result["timestamp"],
"hmac": result["hmac"],
"hmac": resp["hmac"],
"spoiler": int(media.spoiler),
} | kwargs
await self.post(URL.COMMUNITY / "chat/commitfileupload", data=payload)
Expand Down

0 comments on commit 93ee056

Please sign in to comment.