Fix bug for pkgmgr_client_usr_register_pkg_update_info 76/309476/1
authorInkyun Kil <inkyun.kil@samsung.com>
Thu, 11 Apr 2024 07:27:11 +0000 (16:27 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Thu, 11 Apr 2024 07:27:11 +0000 (16:27 +0900)
Change-Id: Ie63f65ffe7e7488ae8c94fb8fac6fceed95edcf3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
client/src/api_stub.cc

index a6760cf..ff31413 100644 (file)
@@ -574,7 +574,7 @@ API int pkgmgr_client_usr_register_pkg_update_info(pkgmgr_client *pc,
 
   std::string req_key;
   int ret = proxy->RegisterPkgUpdateInfo(uid, update_info->pkgid,
-      update_info->pkgid, update_info->type, req_key);
+      update_info->version, update_info->type, req_key);
   if (ret != 0) {
     _E("Request fail");
     return ret;