Skip to content

Commit 12ab97b

Browse files
Fix small error in README (#63)
1 parent 70b7a30 commit 12ab97b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Inside the `SupabaseClient` instance created before, you can find an `auth` prop
4343
Task {
4444
do {
4545
try await client.auth.signUp(email: email, password: password)
46-
let session = try await client.session
46+
let session = try await client.auth.session
4747
print("### Session Info: \(session)")
4848
} catch {
4949
print("### Sign Up Error: \(error)")
@@ -57,7 +57,7 @@ Task {
5757
Task {
5858
do {
5959
try await client.auth.signIn(email: email, password: password)
60-
let session = try await client.session
60+
let session = try await client.auth.session
6161
print("### Session Info: \(session)")
6262
} catch {
6363
print("### Sign Up Error: \(error)")

0 commit comments

Comments
 (0)