aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/whoami.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/whoami.cpp')
-rw-r--r--jobs/generated/whoami.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/jobs/generated/whoami.cpp b/jobs/generated/whoami.cpp
index dce091ec..4f7b052c 100644
--- a/jobs/generated/whoami.cpp
+++ b/jobs/generated/whoami.cpp
@@ -2,7 +2,6 @@
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
-
#include "whoami.h"
#include "converters.h"
@@ -21,16 +20,13 @@ class GetTokenOwnerJob::Private
GetTokenOwnerJob::GetTokenOwnerJob()
: BaseJob(HttpVerb::Get, "GetTokenOwnerJob",
- basePath % "/account/whoami",
- Query { }
- ), d(new Private)
-{ }
-
-GetTokenOwnerJob::~GetTokenOwnerJob()
+ basePath % "/account/whoami")
+ , d(new Private)
{
- delete d;
}
+GetTokenOwnerJob::~GetTokenOwnerJob() = default;
+
const QString& GetTokenOwnerJob::userId() const
{
return d->userId;