Skip to content

Commit

Permalink
Merge pull request #20 from nonlinearthink/fix-access-token
Browse files Browse the repository at this point in the history
Fix accessToken
  • Loading branch information
hongfaqiu authored Jan 9, 2024
2 parents d607c83 + dd8aef7 commit 9abd3f3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/MVTImageryProvider/src/MVTImageryProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,7 @@ class MVTImageryProvider {
let promise: any = data
if (typeof data === 'string') {
data = new Resource({
url: data,
queryParameters: {
access_token: this._accessToken
}
url: data
})
}
if (data instanceof Resource) {
Expand Down

0 comments on commit 9abd3f3

Please sign in to comment.