post services integrations

This commit is contained in:
2026-07-29 18:09:38 +02:00
parent 6cb9acf98b
commit 759bc1dc15
23 changed files with 956 additions and 95 deletions
+3 -4
View File
@@ -24,8 +24,7 @@ mod user;
#[derive(Clone, Debug)]
pub struct RepositoryContext {
db: DatabaseConnection,
events: Arc<EventBus>,
pub db: DatabaseConnection,
}
#[derive(Clone, Debug)]
@@ -41,8 +40,8 @@ pub struct Repositories {
}
impl Repositories {
pub fn new(db: DatabaseConnection, events: Arc<EventBus>) -> Self {
let context = Arc::new(RepositoryContext { db, events });
pub fn new(db: DatabaseConnection) -> Self {
let context = Arc::new(RepositoryContext { db });
Self {
server: ServerRepository {