From 0d2e697fa47ece62a77da72ffcfe5e5a430b8a43 Mon Sep 17 00:00:00 2001 From: Joel Smith Date: Tue, 1 Mar 2022 15:04:22 -0800 Subject: [PATCH] don't parse operation id (#112) --- src/dtos/operation.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dtos/operation.h b/src/dtos/operation.h index 1f99e10..72cd625 100644 --- a/src/dtos/operation.h +++ b/src/dtos/operation.h @@ -28,7 +28,6 @@ class Operation { QString name; int numUsers; OperationStatus status; - qint64 id; static Operation parseData(QByteArray data) { return parseJSONItem(data, Operation::fromJson); @@ -57,7 +56,6 @@ class Operation { o.name = obj["name"].toString(); o.numUsers = obj["numUsers"].toInt(); o.status = static_cast(obj["status"].toInt()); - o.id = obj["id"].toVariant().toLongLong(); return o; }