From ac3fb91edd3017d1b406e7c88f9a9c87f7baccef Mon Sep 17 00:00:00 2001 From: kevinschaich Date: Wed, 1 Jul 2020 15:17:25 -0400 Subject: [PATCH] Fix for sheets not sorting correctly --- package.json | 2 +- src/integrations/google/googleIntegration.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 605c33c9..41e58419 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mintable", "author": "Kevin Schaich (http://kevinschaich.io)", "license": "MIT", - "version": "2.0.0-beta.38", + "version": "2.0.0-beta.39", "bin": "./lib/scripts/cli.js", "preferGlobal": true, "scripts": { diff --git a/src/integrations/google/googleIntegration.ts b/src/integrations/google/googleIntegration.ts index 6370a1b5..75067638 100644 --- a/src/integrations/google/googleIntegration.ts +++ b/src/integrations/google/googleIntegration.ts @@ -201,7 +201,7 @@ export class GoogleIntegration { public sortSheets = async (): Promise => { const sheets = await this.getSheets() - const ordered = sortBy(sheets, sheet => sheet.properties.title) + const ordered = sortBy(sheets, sheet => sheet.properties.title).reverse() return this.sheets .batchUpdate({