style(macos): swiftformat

This commit is contained in:
Peter Steinberger
2025-12-14 04:41:26 +00:00
parent 0641281cfe
commit b80c0d85e0
3 changed files with 8 additions and 7 deletions

View File

@@ -153,12 +153,11 @@ enum PiOAuthStore {
}
}
private extension Data {
func base64URLEncodedString() -> String {
extension Data {
fileprivate func base64URLEncodedString() -> String {
self.base64EncodedString()
.replacingOccurrences(of: "+", with: "-")
.replacingOccurrences(of: "/", with: "_")
.replacingOccurrences(of: "=", with: "")
}
}