On sending (posting) item to the server the generated UUID is added to the local item.
This commit is contained in:
@ -68,7 +68,7 @@ void ServerCommunicator::postItems(const QByteArray& jsonData) {
|
||||
QByteArray responseData = reply->readAll();
|
||||
const QString message = QString("POST successful! Response: %1").arg(responseData);
|
||||
qInfo() << message;
|
||||
emit postRequestSuccessful(message);
|
||||
emit postRequestSuccessful(responseData);
|
||||
} else {
|
||||
const QString message = QString("Error: %1").arg(reply->errorString());
|
||||
qDebug() << message;
|
||||
|
||||
Reference in New Issue
Block a user