Fixed bug.
This commit is contained in:
@@ -131,7 +131,9 @@ namespace Apostol {
|
|||||||
auto &Context = m_Servers[index].Value();
|
auto &Context = m_Servers[index].Value();
|
||||||
Context.BTCKeys() = Keys;
|
Context.BTCKeys() = Keys;
|
||||||
|
|
||||||
UpdateOAuth2(Context, m_OAuth2.Object());
|
if (Context.Status() == Context::csInitialization) {
|
||||||
|
UpdateOAuth2(Context, m_OAuth2.Object());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -136,7 +136,9 @@ namespace Apostol {
|
|||||||
auto &Context = m_Servers[index].Value();
|
auto &Context = m_Servers[index].Value();
|
||||||
Context.BTCKeys() = Keys;
|
Context.BTCKeys() = Keys;
|
||||||
|
|
||||||
UpdateOAuth2(Context, m_OAuth2.Object());
|
if (Context.Status() == Context::csInitialization) {
|
||||||
|
UpdateOAuth2(Context, m_OAuth2.Object());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user