Skip to content

Commit 69519ea

Browse files
A6GibKmbilelmoussaoui
authored andcommitted
server: service: Use &ObjectPath
1 parent 0255635 commit 69519ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

server/src/service.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,19 +278,19 @@ impl Service {
278278
#[zbus(signal, name = "CollectionCreated")]
279279
async fn collection_created(
280280
signal_emitter: &SignalEmitter<'_>,
281-
collection: OwnedObjectPath,
281+
collection: &ObjectPath<'_>,
282282
) -> zbus::Result<()>;
283283

284284
#[zbus(signal, name = "CollectionDeleted")]
285285
async fn collection_deleted(
286286
signal_emitter: &SignalEmitter<'_>,
287-
collection: OwnedObjectPath,
287+
collection: &ObjectPath<'_>,
288288
) -> zbus::Result<()>;
289289

290290
#[zbus(signal, name = "CollectionChanged")]
291291
pub async fn collection_changed(
292292
signal_emitter: &SignalEmitter<'_>,
293-
collection: &OwnedObjectPath,
293+
collection: &ObjectPath<'_>,
294294
) -> zbus::Result<()>;
295295
}
296296

0 commit comments

Comments
 (0)