Skip to content

Commit

Permalink
Use our own token guide
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgv committed Jun 15, 2022
1 parent d5819e9 commit 6e432c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReadStream, createReadStream } from "fs"
import { createReadStream, ReadStream } from "fs"
import got from "got"

const baseAPIUrl = "https://www.googleapis.com"
Expand All @@ -20,9 +20,9 @@ export const errorMap = {
extId:
"No extension ID provided, e.g. https://chrome.google.com/webstore/detail/EXT_ID",
clientId:
"To get one: https://github.com/fregante/chrome-webstore-upload/blob/main/How%20to%20generate%20Google%20API%20keys.md",
"To get one: https://github.com/PlasmoHQ/chrome-webstore-api/blob/main/token.md",
refreshToken:
"No refresh token provided. To get one: https://github.com/fregante/chrome-webstore-upload/blob/main/How%20to%20generate%20Google%20API%20keys.md"
"No refresh token provided. To get one: https://github.com/PlasmoHQ/chrome-webstore-api/blob/main/token.md"
}

export const requiredFields = Object.keys(errorMap)
Expand Down

0 comments on commit 6e432c2

Please sign in to comment.