From 014bf685cabf3070ad5f61e7f895f10255035525 Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Thu, 7 Jul 2022 17:16:07 +0200 Subject: [PATCH] (flix) user.list query --- src/rc-sdk/RcSdkUser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc-sdk/RcSdkUser.ts b/src/rc-sdk/RcSdkUser.ts index ef4b5b6..5410a10 100644 --- a/src/rc-sdk/RcSdkUser.ts +++ b/src/rc-sdk/RcSdkUser.ts @@ -74,7 +74,7 @@ export class RcSdkUser { public list(): Promise { return this.sdk.get( - `users.list?query={"type":{"$eq":"user"}}&fields={"createdAt":1}`, + `users.list?query={"type":"user"}&fields={"type":1,"createdAt":1}`, ); }