split rs files

This commit is contained in:
Mateusz Gruszczyński
2026-07-27 23:27:56 +02:00
parent d6c1c52310
commit 9695b2b739
15 changed files with 1694 additions and 1645 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
use super::*;
#[derive(Debug, Deserialize)]
pub struct CreatePadRequest {
name: String,
@@ -343,7 +345,7 @@ pub async fn pad_restore(
Ok(Json(serde_json::json!({"ok": true})))
}
async fn authorized_pad(
pub(super) async fn authorized_pad(
state: &SharedState,
slug: &str,
password: Option<&str>,