From 2b7bec5276d39950314dfb7ab1893bec55a47c0d Mon Sep 17 00:00:00 2001 From: alex-z Date: Wed, 17 Jan 2024 15:27:55 +0100 Subject: [PATCH] Spell-correction for e2e_errors Signed-off-by: alex-z --- src/libsync/clientstatusreportingnetwork.cpp | 2 +- test/testclientstatusreporting.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);