diff --git a/launcher/include/squareenixlogin.h b/launcher/include/squareenixlogin.h index f3743ad..53d795e 100644 --- a/launcher/include/squareenixlogin.h +++ b/launcher/include/squareenixlogin.h @@ -35,7 +35,7 @@ private: /// Logs into the server /// \return Returns false if the oauth call failed for some reason - QCoro::Task loginOauth(); + QCoro::Task 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 diff --git a/launcher/src/squareenixlogin.cpp b/launcher/src/squareenixlogin.cpp index 40263bc..8f8b739 100644 --- a/launcher/src/squareenixlogin.cpp +++ b/launcher/src/squareenixlogin.cpp @@ -35,7 +35,7 @@ QCoro::Task> 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> SquareEnixLogin::getStor } } -QCoro::Task SquareEnixLogin::loginOauth() +QCoro::Task SquareEnixLogin::loginOAuth() { const auto storedResult = co_await getStoredValue(); if (storedResult == std::nullopt) {