Update crates/db_views_moderator/src/modlog_combined_view.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>
This commit is contained in:
Dessalines 2025-01-10 12:05:13 -05:00 committed by GitHub
parent 0723ef2055
commit 9b561dfa2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,7 +93,7 @@ impl ModlogCombinedPaginationCursor {
}; };
// hex encoding to prevent ossification // hex encoding to prevent ossification
let prefix = view.as_ref(); let prefix = view.as_ref();
ModlogCombinedPaginationCursor(format!("{prefix}{id:x}")) ModlogCombinedPaginationCursor(format!("{prefix}-{id:x}"))
} }
pub async fn read(&self, pool: &mut DbPool<'_>) -> Result<PaginationCursorData, Error> { pub async fn read(&self, pool: &mut DbPool<'_>) -> Result<PaginationCursorData, Error> {