Skip to content

Commit

Permalink
fix: build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Mar 7, 2022
1 parent 6f7ddd9 commit 36b2371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
}

@objc func reset(_ call: CAPPluginCall) {
let toAutoUpdate = call.getBoolean("toAutoUpdate") ?? false
if (self._reset(toAutoUpdate)) {
let toAutoUpdate = call.getBool("toAutoUpdate") ?? false
if (self._reset(toAutoUpdate: toAutoUpdate)) {
return call.resolve()
}
call.reject("✨ Capacitor-updater: Reset failed")
Expand Down

0 comments on commit 36b2371

Please sign in to comment.