This commit is contained in:
despiegk 2025-04-20 09:58:01 +02:00
parent 852347df2b
commit 7925f545bb
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
use crate::db::error::{DbError, DbResult};
use crate::db::model::{Model, Storable};
use crate::db::model::Model;
use ourdb::{OurDB, OurDBConfig, OurDBSetArgs};
use std::marker::PhantomData;
use std::path::{Path, PathBuf};

View File

@ -152,14 +152,14 @@ impl Company {
}
/// Link this company to a Circle for access control
pub fn link_to_circle(&mut self, circle_id: u32) {
pub fn link_to_circle(&mut self, _circle_id: u32) {
// Implementation would involve updating a mapping in a separate database
// For now, we'll just update the timestamp to indicate the change
self.updated_at = Utc::now();
}
/// Link this company to a Customer in the biz module
pub fn link_to_customer(&mut self, customer_id: u32) {
pub fn link_to_customer(&mut self, _customer_id: u32) {
// Implementation would involve updating a mapping in a separate database
// For now, we'll just update the timestamp to indicate the change
self.updated_at = Utc::now();

View File

@ -156,7 +156,7 @@ impl Meeting {
.collect()
}
/// Link this meeting to a Calendar Event in the mcc module
pub fn link_to_event(&mut self, event_id: u32) -> DbResult<()> {
pub fn link_to_event(&mut self, _event_id: u32) -> DbResult<()> {
// Implementation would involve updating a mapping in a separate database
// For now, we'll just update the timestamp to indicate the change
self.updated_at = Utc::now();

View File

@ -106,7 +106,7 @@ impl Email {
pub fn to_message(&self, id: u32, thread_id: String) -> crate::models::mcc::message::Message {
use crate::models::mcc::message::Message;
let now = Utc::now();
let _now = Utc::now();
let sender = if let Some(env) = &self.envelope {
if !env.from.is_empty() {
env.from[0].clone()