diff options
Diffstat (limited to 'lib/csapi/pushrules.h')
-rw-r--r-- | lib/csapi/pushrules.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/csapi/pushrules.h b/lib/csapi/pushrules.h index f6d3458a..1c6d5c2d 100644 --- a/lib/csapi/pushrules.h +++ b/lib/csapi/pushrules.h @@ -148,7 +148,8 @@ public: * against. */ explicit SetPushRuleJob(const QString& scope, const QString& kind, - const QString& ruleId, const QStringList& actions, + const QString& ruleId, + const QVector<QVariant>& actions, const QString& before = {}, const QString& after = {}, const QVector<PushCondition>& conditions = {}, @@ -246,9 +247,9 @@ public: // Result properties /// The action(s) to perform for this rule. - QStringList actions() const + QVector<QVariant> actions() const { - return loadFromJson<QStringList>("actions"_ls); + return loadFromJson<QVector<QVariant>>("actions"_ls); } }; @@ -275,7 +276,7 @@ public: */ explicit SetPushRuleActionsJob(const QString& scope, const QString& kind, const QString& ruleId, - const QStringList& actions); + const QVector<QVariant>& actions); }; } // namespace Quotient |