Skip to content

Commit

Permalink
fix(storage): Remove warning on getString usage (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Oct 30, 2020
1 parent 0b666ff commit db9c9c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/ios/Plugin/StoragePlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class StoragePlugin: CAPPlugin {
call.reject("Must provide a key")
return
}
let value = call.getString("value", "") ?? ""
let value = call.getString("value", "")

storage.set(value, for: key)
call.resolve()
Expand Down

0 comments on commit db9c9c0

Please sign in to comment.