update rustpad

This commit is contained in:
Mateusz Gruszczyński
2026-07-27 16:32:09 +02:00
parent 4468011429
commit 84497da819
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -20,7 +20,7 @@ use lettre::{
use rand_core::{OsRng, RngCore};
use serde::{Deserialize, Serialize};
use sha2::{Digest, Sha256};
use sqlx::{any::AnyRow, FromRow, Row};
use sqlx::{any::AnyRow, Row};
use tracing::{debug, info, warn};
use crate::{
@@ -109,7 +109,6 @@ pub struct ResourceItem {
title: String,
protected: i64,
updated_at: String,
#[sqlx(rename = "private")]
#[serde(rename = "private")]
private_resource: i64,
owned: i64,
-1
View File
@@ -41,7 +41,6 @@ pub struct Workspace {
pub struct Note {
pub id: i64,
#[serde(skip_serializing)]
#[sqlx(rename = "workspace_id")]
pub _workspace_id: i64,
pub slug: String,
pub title: String,