mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-19 05:45:41 +00:00
fix: refresh profile before caching verified PIN
This commit is contained in:
parent
49a7bd7fc3
commit
5327166faf
1 changed files with 1 additions and 0 deletions
|
|
@ -310,6 +310,7 @@ object ProfileRepository {
|
|||
val result = SupabaseProvider.client.postgrest.rpc("verify_profile_pin", params)
|
||||
result.decodeSingle<PinVerifyResult>().also { verifyResult ->
|
||||
if (verifyResult.unlocked) {
|
||||
pullProfiles()
|
||||
rememberVerifiedPin(profileIndex = profileIndex, pin = pin)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue