Skip to content

Commit

Permalink
💅 Store singleton explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
benlmyers committed Oct 1, 2022
1 parent 32e30c1 commit 92919a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/EasyFirebase/Services/Firestore/Storage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extension EasyFirestore {
- parameter singleton: The singleton to set in Firestore.
- parameter completion: The completion handler.
*/
public static func set<T>(_ singleton: T, completion: @escaping (Error?) -> Void = { _ in }) where T: Singleton {
public static func set<T>(singleton: T, completion: @escaping (Error?) -> Void = { _ in }) where T: Singleton {
set(singleton, collection: "Singleton", id: singleton.id, completion: completion)
}

Expand Down

0 comments on commit 92919a2

Please sign in to comment.