Skip to content

Commit d299a90

Browse files
committed
cosmetic changes
1 parent 4a81225 commit d299a90

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Sources/LocalAuthentication/Schema/Account.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ public class Account: PostgresStORM {
8181
do {
8282
try this.find(["email":email])
8383
if this.results.cursorData.totalRecords > 0 {
84-
// print("failing unique test")
84+
// print("failing unique test")
8585
throw OAuth2ServerError.invalidEmail
8686
}
8787
} catch {
88-
// print(error)
88+
// print(error)
8989
throw OAuth2ServerError.invalidEmail
9090
}
9191
}
@@ -96,7 +96,7 @@ public class Account: PostgresStORM {
9696
let acc = Account(r.secureToken, u, "", e, ut)
9797
do {
9898
try acc.isUnique()
99-
// print("passed unique test")
99+
// print("passed unique test")
100100
try acc.create()
101101
} catch {
102102
print(error)
@@ -183,4 +183,3 @@ public enum AccountType {
183183
}
184184
}
185185
}
186-

Sources/LocalAuthentication/Schema/Errors.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@
99
public enum OAuth2ServerError: Error {
1010
case noError, registerError, loginError, invalidEmail
1111
}
12-

0 commit comments

Comments
 (0)