Skip to content

Commit

Permalink
fix: mypy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Jun 15, 2024
1 parent bf7241d commit ad9cbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slack_cleaner2/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def _context(self) -> str:
return str(self.msg)

def _delete_impl(self):
return self._slack.call_rate_limited(lambda: self._slack.client.reactions_remove(name=self.name, channel=self.msg.channel.id, timestamp=self.msg.ts))
return self._slack.call_rate_limited(lambda: self._slack.client.reactions_remove(name=self.name, channel=self.msg.channel.id, timestamp=self.msg.json["ts"]))


class SlackFile:
Expand Down

0 comments on commit ad9cbeb

Please sign in to comment.