Last active
June 1, 2021 07:38
-
-
Save satishbabariya/c2d56dd75ff1d206165685cc4ff61446 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var supabase = SupabaseClient(supabaseUrl: "", supabaseKey: "") | |
supabase.auth.signIn(email: "[email protected]", password: "secret") { result in | |
switch result { | |
case let .success(session): | |
print(session) | |
case let .failure(error): | |
print(error.localizedDescription) | |
} | |
} | |
supabase.storage.listBuckets { result in | |
switch result { | |
case let .success(buckets): | |
print(buckets) | |
case let .failure(error): | |
print(error.localizedDescription) | |
} | |
e.fulfill() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment