Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eonist committed Oct 1, 2023
1 parent 4b1c236 commit 1cef9bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Sources/Telemetry/ext/Keychain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ internal class Keychain {
* - Returns: The string value associated with the key, or nil if no value is found.
*/
internal static func get(key: String) throws -> String? {
// Define the query for loading the item from the keychain
let queryLoad: [String: AnyObject] = [
let queryLoad: [String: AnyObject] = [ // Define the query for loading the item from the keychain
kSecClass as String: kSecClassGenericPassword, // Define the class of the item that this query will load
kSecAttrAccount as String: key as AnyObject, // Define the account attribute of the item
kSecReturnData as String: kCFBooleanTrue, // Define that the data of the item should be returned
Expand Down
1 change: 0 additions & 1 deletion Sources/Telemetry/util/Identity.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,4 @@ public enum IDType {
* Uses the Keychain to store the identity
*/
case keychain
case keychain
}

0 comments on commit 1cef9bf

Please sign in to comment.