From fe5c8a991ffbbd084c7d0e3a042f7a19fdcfe3ee Mon Sep 17 00:00:00 2001 From: ff137 Date: Sat, 17 Aug 2024 00:02:44 +0300 Subject: [PATCH] :bug: add missing arguments to sessionFetchAll Signed-off-by: ff137 --- .../aries-askar-react-native/src/ReactNativeAriesAskar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts b/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts index c519f26b..3c1a90df 100644 --- a/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts +++ b/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts @@ -517,10 +517,10 @@ export class ReactNativeAriesAskar implements AriesAskar { } public async sessionFetchAll(options: SessionFetchAllOptions) { - const { category, sessionHandle, forUpdate, limit, tagFilter } = serializeArguments(options) + const { category, sessionHandle, forUpdate, limit, orderBy, descending, tagFilter } = serializeArguments(options) const handle = await this.promisifyWithResponse((cb) => this.handleError( - this.ariesAskar.sessionFetchAll({ cb, category, sessionHandle, forUpdate, limit: limit || -1, tagFilter }), + this.ariesAskar.sessionFetchAll({ cb, category, sessionHandle, forUpdate, limit: limit || -1, orderBy, descending, tagFilter }), ), )