Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Fix DataStore reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Dec 29, 2019
1 parent 2d5eaf1 commit 492a698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServerStorage/Aero/Modules/Data/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ end
function Data:_getSorted(isAscending, pageSize, minValue, maxValue)
return Promise.Async(function(resolve, reject)
-- Call GetSortedAsync and return the custom DataStorePages object:
local success, dsp = pcall(self._ds.GetSortedAsync, self._ods, isAscending, pageSize, minValue, maxValue)
local success, dsp = pcall(self._ds.GetSortedAsync, self._ds, isAscending, pageSize, minValue, maxValue)
if (success) then
resolve(DataStorePages.new(dsp))
else
Expand Down

0 comments on commit 492a698

Please sign in to comment.