Showing the changes to interface/src/AndroidHelper.cpp (1 of 3 files). Show all
Unified · Split
| @@ -12,7 +12,9 @@ · 11 unmodified lines | ||
| 12 | 12 | #include <QDebug> |
| 13 | 13 | #include <AccountManager.h> |
| 14 | 14 | #include <AudioClient.h> |
| 15 | +#include <src/ui/LoginDialog.h> | |
| 15 | 16 | #include "Application.h" |
| 17 | +#include "Constants.h" | |
| 16 | 18 | |
| 17 | 19 | #if defined(qApp) |
| 18 | 20 | #undef qApp |
| @@ -84,8 +86,6 @@ void AndroidHelper::signup(QString email, QString username, QString password) { · 65 unmodified lines | ||
| 84 | 86 | |
| 85 | 87 | payload.insert("user", userObject); |
| 86 | 88 | |
| 87 | − static const QString API_SIGNUP_PATH = "api/v1/users"; | |
| 88 | − | |
| 89 | 89 | auto accountManager = DependencyManager::get<AccountManager>(); |
| 90 | 90 | |
| 91 | 91 | accountManager->sendRequest(API_SIGNUP_PATH, AccountManagerAuth::None, |