mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Blegh, rename loginOauth function to loginOAuth
This commit is contained in:
parent
f99964b2bb
commit
b091a4db8c
2 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ private:
|
|||
|
||||
/// Logs into the server
|
||||
/// \return Returns false if the oauth call failed for some reason
|
||||
QCoro::Task<bool> loginOauth();
|
||||
QCoro::Task<bool> loginOAuth();
|
||||
|
||||
/// Registers a new session with the login server and patches the game if necessary
|
||||
/// \return Returns false if the session registration failed for some reason
|
||||
|
|
|
@ -35,7 +35,7 @@ QCoro::Task<std::optional<LoginAuth>> SquareEnixLogin::login(LoginInformation *i
|
|||
|
||||
co_await checkBootUpdates();
|
||||
|
||||
if (!co_await loginOauth()) {
|
||||
if (!co_await loginOAuth()) {
|
||||
co_return std::nullopt;
|
||||
}
|
||||
|
||||
|
@ -186,7 +186,7 @@ QCoro::Task<std::optional<SquareEnixLogin::StoredInfo>> SquareEnixLogin::getStor
|
|||
}
|
||||
}
|
||||
|
||||
QCoro::Task<bool> SquareEnixLogin::loginOauth()
|
||||
QCoro::Task<bool> SquareEnixLogin::loginOAuth()
|
||||
{
|
||||
const auto storedResult = co_await getStoredValue();
|
||||
if (storedResult == std::nullopt) {
|
||||
|
|
Loading…
Add table
Reference in a new issue