Removing serde_skip from newest_comment_time. Fixes #4351 (#4360)

This commit is contained in:
Dessalines 2024-01-10 04:44:27 -05:00 committed by GitHub
parent ea0b856f1e
commit 3b717cfc88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -111,7 +111,6 @@ pub struct PostAggregates {
/// A newest comment time, limited to 2 days, to prevent necrobumping
pub newest_comment_time_necro: DateTime<Utc>,
/// The time of the newest comment in the post.
#[serde(skip)]
pub newest_comment_time: DateTime<Utc>,
/// If the post is featured on the community.
#[serde(skip)]

View File

@ -17,7 +17,7 @@ services:
- "8536:8536"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro,Z
restart: always
restart: unless-stopped
depends_on:
- pictrs
- lemmy-ui
@ -38,7 +38,7 @@ services:
# CARGO_BUILD_FEATURES: default
# this hostname is used in nginx reverse proxy and also for lemmy ui to connect to the backend, do not change
hostname: lemmy
restart: always
restart: unless-stopped
environment:
- RUST_LOG="warn,lemmy_server=debug,lemmy_api=debug,lemmy_api_common=debug,lemmy_api_crud=debug,lemmy_apub=debug,lemmy_db_schema=debug,lemmy_db_views=debug,lemmy_db_views_actor=debug,lemmy_db_views_moderator=debug,lemmy_routes=debug,lemmy_utils=debug,lemmy_websocket=debug"
- RUST_BACKTRACE=full
@ -72,7 +72,7 @@ services:
- LEMMY_UI_DEBUG=true
depends_on:
- lemmy
restart: always
restart: unless-stopped
logging: *default-logging
init: true
@ -95,7 +95,7 @@ services:
user: 991:991
volumes:
- ./volumes/pictrs:/mnt:Z
restart: always
restart: unless-stopped
logging: *default-logging
postgres:
@ -127,5 +127,5 @@ services:
- POSTGRES_DB=lemmy
volumes:
- ./volumes/postgres:/var/lib/postgresql/data:Z
restart: always
restart: unless-stopped
logging: *default-logging