aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/whoami.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/whoami.h')
-rw-r--r--lib/csapi/whoami.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/csapi/whoami.h b/lib/csapi/whoami.h
index 203742c9..319f82c5 100644
--- a/lib/csapi/whoami.h
+++ b/lib/csapi/whoami.h
@@ -34,19 +34,13 @@ public:
// Result properties
/// The user ID that owns the access token.
- QString userId() const
- {
- return loadFromJson<QString>("user_id"_ls);
- }
+ QString userId() const { return loadFromJson<QString>("user_id"_ls); }
/// Device ID associated with the access token. If no device
/// is associated with the access token (such as in the case
/// of application services) then this field can be omitted.
/// Otherwise this is required.
- QString deviceId() const
- {
- return loadFromJson<QString>("device_id"_ls);
- }
+ QString deviceId() const { return loadFromJson<QString>("device_id"_ls); }
};
} // namespace Quotient