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

Convert Share mutations #8177

Merged
merged 4 commits into from
Jan 2, 2025
Merged

Convert Share mutations #8177

merged 4 commits into from
Jan 2, 2025

Conversation

hmacr
Copy link
Collaborator

@hmacr hmacr commented Dec 31, 2024

Towards #7920

Marking it as draft since it needs to be rebased after #8166 (change in createContext method signature).

@hmacr hmacr changed the title Convert 'Share' mutations Convert Share mutations Dec 31, 2024
server/types.ts Show resolved Hide resolved
@hmacr hmacr marked this pull request as ready for review December 31, 2024 14:46
@auto-assign auto-assign bot requested a review from tommoor December 31, 2024 14:46
@@ -188,10 +192,11 @@ class Share extends IdModel<
@Column
allowIndexing: boolean;

revoke(userId: string) {
revoke(ctx: APIContext, eventOverride?: EventOverride) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to allow passing eventOverride here, we can just hardcode it on L199?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah 🤦‍♂️

@hmacr hmacr requested a review from tommoor December 31, 2024 23:33
@tommoor tommoor merged commit 98fef1b into main Jan 2, 2025
11 checks passed
@hmacr hmacr deleted the hmacr/7920-shares branch January 8, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants