diff --git a/Sources/YouClap/Firebase.swift b/Sources/YouClap/Firebase.swift index 9793da4..b1cdae6 100644 --- a/Sources/YouClap/Firebase.swift +++ b/Sources/YouClap/Firebase.swift @@ -5,7 +5,7 @@ public enum Firebase { private static let identifierAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" private static var randomGenerator = SystemRandomNumberGenerator() - public var autoIdentifier: String { + public static var autoIdentifier: String { return String((0.. Character? in return Self.identifierAlphabet.randomElement(using: &Self.randomGenerator) })