mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-19 12:57:26 +00:00
Update crates/db_views_moderator/src/modlog_combined_view.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
This commit is contained in:
parent
0723ef2055
commit
9b561dfa2b
|
@ -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> {
|
||||||
|
|
Loading…
Reference in a new issue