synthetix-subgraph icon indicating copy to clipboard operation
synthetix-subgraph copied to clipboard

Use access token

Open 0xjocke opened this issue 2 years ago • 0 comments

The access-token parameter was not used for the hosted service deployment and used incorrectly for the decentralised deployment (it's camel cased on the settings object)

My first commit resolved the problem. The nested if statement and repetition of build/deploy exec triggered my refactor brain. I created buildAndDeployHosted and deployDecentralized to make it a little easier to reason about, hopefully you agree with that.

I also remove some await for non async functions

0xjocke avatar May 05 '22 05:05 0xjocke