@mastra/upstash 1.5.5-alpha.1 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1487,7 +1487,7 @@ var StoreMemoryUpstash = class extends MemoryStorage {
1487
1487
  const aValue = new Date(a[field]).getTime();
1488
1488
  const bValue = new Date(b[field]).getTime();
1489
1489
  if (direction === "ASC") return aValue - bValue;
1490
- else return bValue - aValue;
1490
+ return bValue - aValue;
1491
1491
  });
1492
1492
  }
1493
1493
  async cloneThread(args) {