mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 18:22:39 +03:00
fix credential and credential.id usage
This commit is contained in:
parent
d2b97dc4e1
commit
fb77b4fe09
@ -189,10 +189,10 @@ class _AndroidCredentialListNotifier extends OathCredentialListNotifier {
|
||||
try {
|
||||
String response;
|
||||
if (issuer != null) {
|
||||
response = await _api.renameAccountWithIssuer(
|
||||
credential.id.toString(), name, issuer);
|
||||
response =
|
||||
await _api.renameAccountWithIssuer(credential.id, name, issuer);
|
||||
} else {
|
||||
response = await _api.renameAccount(credential.toString(), name);
|
||||
response = await _api.renameAccount(credential.id, name);
|
||||
}
|
||||
|
||||
var responseJson = jsonDecode(response);
|
||||
|
Loading…
Reference in New Issue
Block a user