diff --git a/src/libsync/clientstatusreportingnetwork.cpp b/src/libsync/clientstatusreportingnetwork.cpp index bee15f37bb564..ed0f669f8411c 100644 --- a/src/libsync/clientstatusreportingnetwork.cpp +++ b/src/libsync/clientstatusreportingnetwork.cpp @@ -20,7 +20,7 @@ namespace { -constexpr auto statusReportCategoryE2eErrors = "e2e_errors"; +constexpr auto statusReportCategoryE2eErrors = "e2ee_errors"; constexpr auto statusReportCategoryProblems = "problems"; constexpr auto statusReportCategorySyncConflicts = "sync_conflicts"; constexpr auto statusReportCategoryVirus = "virus_detected"; diff --git a/test/testclientstatusreporting.cpp b/test/testclientstatusreporting.cpp index b018f20336666..d2ca07244b3c2 100644 --- a/test/testclientstatusreporting.cpp +++ b/test/testclientstatusreporting.cpp @@ -109,7 +109,7 @@ private slots: QCOMPARE(virusDetectedErrorsReceived.value("count"), 3); // we must have 2 e2ee errors - const auto e2eeErrorsReceived = bodyReceivedAndParsed.value("e2e_errors").toMap(); + const auto e2eeErrorsReceived = bodyReceivedAndParsed.value("e2ee_errors").toMap(); QVERIFY(!e2eeErrorsReceived.isEmpty()); QCOMPARE(e2eeErrorsReceived.value("count"), 2);