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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow marking multiple posts as read in single api call (fixes #3963) #4048

Merged
merged 9 commits into from Oct 17, 2023

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Oct 16, 2023

No description provided.

@@ -140,7 +140,9 @@ pub struct RemovePost {
#[cfg_attr(feature = "full", ts(export))]
/// Mark a post as read.
pub struct MarkPostAsRead {
/// Deprecated, send `post_ids` instead
Copy link
Member

Choose a reason for hiding this comment

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

Add a TODO in here so we can remember to remove it in the future.

crates/api/src/post/mark_read.rs Outdated Show resolved Hide resolved
crates/api_common/src/utils.rs Outdated Show resolved Hide resolved
crates/db_schema/src/impls/post.rs Outdated Show resolved Hide resolved
crates/db_schema/src/impls/post.rs Show resolved Hide resolved
@dessalines dessalines enabled auto-merge (squash) October 17, 2023 14:53
@dessalines dessalines merged commit 3a19af5 into main Oct 17, 2023
2 checks passed
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.

None yet

2 participants