fetchItems() uses the more generic sendGetRequest function.

This commit is contained in:
2026-05-03 09:44:32 +02:00
parent b1f7fbff8b
commit 760c778c3b
2 changed files with 55 additions and 23 deletions

View File

@ -44,6 +44,10 @@ class ServerCommunicator : public QObject {
QString m_email;
QString m_password;
QString m_authToken;
void sendGetRequest(const QString& path);
void onGetReplySuccessful(const QString& path, const QJsonDocument doc);
void onGetReplyFailure(const QString& path, const QString errorString);
};
#endif // SERVERCOMMUNICATOR_H