Skip to content

Commit

Permalink
fix repost error
Browse files Browse the repository at this point in the history
  • Loading branch information
Her Email authored and alphatownsman committed Dec 7, 2023
1 parent 8113344 commit cd4193b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ x-shared:
TAKAHE_USE_PROXY_HEADERS: true
TAKAHE_STATOR_CONCURRENCY: ${TAKAHE_STATOR_CONCURRENCY:-4}
TAKAHE_STATOR_CONCURRENCY_PER_MODEL: ${TAKAHE_STATOR_CONCURRENCY_PER_MODEL:-2}
TAKAHE_VAPID_PUBLIC_KEY:
TAKAHE_VAPID_PRIVATE_KEY:
TAKAHE_DEBUG: ${NEODB_DEBUG:-True}
TAKAHE_VENV: /takahe-venv
SPOTIFY_API_KEY:
Expand Down
2 changes: 1 addition & 1 deletion journal/models/mark.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def update(
if settings.FORCE_CLASSIC_REPOST:
share_mark(self)
else:
boost_toot_later(self.owner, post.url)
boost_toot_later(self.owner.user, post.url)
return True

def delete(self):
Expand Down

0 comments on commit cd4193b

Please sign in to comment.