PerformScan: Rename exposeRecord in isExposeActionRecord()

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I66f8b804ae4c356f35fcfb1d2450544ceda51c99
diff --git a/src/PerformScan.cpp b/src/PerformScan.cpp
index cff9da0..ec2ad40 100644
--- a/src/PerformScan.cpp
+++ b/src/PerformScan.cpp
@@ -329,11 +329,11 @@
 
 static std::optional<std::vector<std::string>::iterator>
     findExposeActionRecord(std::vector<std::string>& matches,
-                           const nlohmann::json& exposedObject)
+                           const nlohmann::json& record)
 {
     auto matchIt =
         std::find_if(matches.begin(), matches.end(),
-                     [name = (exposedObject)["Name"].get<std::string>()](
+                     [name = (record)["Name"].get<std::string>()](
                          const std::string& s) { return s == name; });
 
     if (matchIt == matches.end())