Skip to content

Commit

Permalink
refactor: avoid using unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgerardojacinto committed Feb 1, 2024
1 parent 50589ab commit 68d0cd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ class OSHealthFitness : CordovaImplementation() {
{
sendPluginResult("success", null)
},
{error ->
sendPluginResult(null, Pair(error.code.toString(), error.message))
{
sendPluginResult(null, Pair(it.code.toString(), it.message))
}
)
}
Expand Down

0 comments on commit 68d0cd6

Please sign in to comment.