Skip to content

Commit

Permalink
Fix for sheets not sorting correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschaich committed Jul 1, 2020
1 parent 8b51c18 commit ac3fb91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "mintable",
"author": "Kevin Schaich <schaich.kevin@gmail.com> (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": {
Expand Down
2 changes: 1 addition & 1 deletion src/integrations/google/googleIntegration.ts
Expand Up @@ -201,7 +201,7 @@ export class GoogleIntegration {

public sortSheets = async (): Promise<sheets_v4.Schema$BatchUpdateSpreadsheetResponse> => {
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({
Expand Down

0 comments on commit ac3fb91

Please sign in to comment.