Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix clearing ap cache of local magazines #310

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Conversation

e-five256
Copy link
Member

@e-five256 e-five256 commented Nov 27, 2023

right now accepting a moderator request or deleting a moderator for a local magazine results in a 500:

hash(): Argument #2 ($data) must be of type string, null given
in [src/EventSubscriber/ActivityPub/MagazineModeratorAddedRemovedSubscriber.php ](file:///var/www/mbin/src/EventSubscriber/ActivityPub/MagazineModeratorAddedRemovedSubscriber.php#L57)(line 57)
$this->cache->delete('ap_'.hash('sha256', $magazine->apId));

@e-five256 e-five256 added the bug Something isn't working label Nov 27, 2023
@e-five256 e-five256 merged commit 471f7e0 into main Nov 27, 2023
7 checks passed
@e-five256 e-five256 deleted the e5/cache-earlyout-apid branch November 27, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants