Fixed bug.
This commit is contained in:
@@ -131,10 +131,12 @@ namespace Apostol {
|
|||||||
auto &Context = m_Servers[index].Value();
|
auto &Context = m_Servers[index].Value();
|
||||||
Context.BTCKeys() = Keys;
|
Context.BTCKeys() = Keys;
|
||||||
|
|
||||||
|
if (Context.Status() == Context::csInitialization) {
|
||||||
UpdateOAuth2(Context, m_OAuth2.Object());
|
UpdateOAuth2(Context, m_OAuth2.Object());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//--------------------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
void CWebService::CheckKeyForNull(LPCTSTR Key, LPCTSTR Value) {
|
void CWebService::CheckKeyForNull(LPCTSTR Key, LPCTSTR Value) {
|
||||||
|
|||||||
@@ -136,10 +136,12 @@ namespace Apostol {
|
|||||||
auto &Context = m_Servers[index].Value();
|
auto &Context = m_Servers[index].Value();
|
||||||
Context.BTCKeys() = Keys;
|
Context.BTCKeys() = Keys;
|
||||||
|
|
||||||
|
if (Context.Status() == Context::csInitialization) {
|
||||||
UpdateOAuth2(Context, m_OAuth2.Object());
|
UpdateOAuth2(Context, m_OAuth2.Object());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//--------------------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
void CWebSocketModule::ModuleStatus(CContext &Context) {
|
void CWebSocketModule::ModuleStatus(CContext &Context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user