From 1d6956fb19769e7e4cf2439284235d6ebd60f7fe Mon Sep 17 00:00:00 2001 From: Loudbook Date: Tue, 10 Dec 2024 20:38:15 -0500 Subject: [PATCH] Don't need to rename --- backend/src/models/paste.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/models/paste.rs b/backend/src/models/paste.rs index 930c642..3f3d316 100644 --- a/backend/src/models/paste.rs +++ b/backend/src/models/paste.rs @@ -9,7 +9,6 @@ pub struct Paste { pub report_book: bool, pub wrap: bool, pub creator_ip: String, - #[serde(rename = "expiresAt")] pub expires_at: u64, } @@ -21,7 +20,6 @@ pub struct PasteDTO { pub created: u64, pub report_book: bool, pub wrap: bool, - #[serde(rename = "expiresAt")] pub expires_at: u64, }