From 4030e9667b8be47ec2d7a97d9711d68aa153805e Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 1 May 2024 07:38:32 +0530 Subject: npassd/collection/CreateItem: set argument types --- src/npassd/collection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npassd/collection.c b/src/npassd/collection.c index 97f1e31..ff5ffae 100644 --- a/src/npassd/collection.c +++ b/src/npassd/collection.c @@ -28,7 +28,7 @@ static int handle_create_item(__attribute__((unused)) sd_bus_message *msg, static const sd_bus_vtable collection_vtable[] = { SD_BUS_VTABLE_START(0), - SD_BUS_METHOD("CreateItem", "", "", handle_create_item, + SD_BUS_METHOD("CreateItem", "a{sv}(oayays)b", "oo", handle_create_item, SD_BUS_VTABLE_UNPRIVILEGED), SD_BUS_VTABLE_END, }; -- cgit v1.2.3