From 9a5d6e099b1cdd7aa21695fd98c22bacd66f5668 Mon Sep 17 00:00:00 2001 From: Nikita Petko Date: Tue, 12 Apr 2022 02:42:59 +0100 Subject: [PATCH] Fix for https://github.com/nkpetko/RbxDataStoreService/issues/77#issuecomment-1095779254 --- Source/Classes/DataStorePages.ts | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Classes/DataStorePages.ts b/Source/Classes/DataStorePages.ts index 7ec2282..a5450f2 100644 --- a/Source/Classes/DataStorePages.ts +++ b/Source/Classes/DataStorePages.ts @@ -60,6 +60,8 @@ export class DataStorePages extends Pages { ? this.requestUrl : `${this.requestUrl.toString()}&exclusiveStartKey=${this.exclusiveStartKey.toString()}`; request.requestType = RequestType.GET_SORTED_ASYNC_PAGE; + if (DFFlag('DataStoreUseNewEndpoints')) + request.method = 'GET'; request.owner = ods; ExectionHelper.ExecuteGetSorted(request) .then((r) => { diff --git a/package.json b/package.json index 741e93d..e6f9293 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mfd/rbxdatastoreservice", - "version": "2.3.8", + "version": "2.3.9", "description": "RbxDataStoreService is a module that allows you to access roblox datastores from your Node.js applications.", "main": "Bin/index.js", "types": "Bin/Types",