Open reimertz opened 8 years ago
That doesn't seem right. It should be using your own auth tokens.
Which hook resulted in that?
I'll take a look at the gist code, it's possible it was broken in the last round of updates.
In the mean-time, you should be able to just edit the source directly on the hook.io site.
@marak awesome, thanks buddy!
@reimertz -
I took a deeper look into it. Check this out:
https://github.com/bigcompany/hook.io/blob/master/lib/resources/hook/fetchHookSourceCode.js#L80
and then:
https://github.com/bigcompany/hook.io/blob/master/lib/resources/hook/fork.js#L65
It looks like we actually have all the information and most of the code needed to make this work as intended.
I'll probably have to take a look at the gist / fork integration anyway. Any pull requests would be welcomed.
Need to resolve this, as well as do a general review of gist backed hooks.
Medium priority.
Related #224
It seems you are using your own api keys to to fetch gist sources?
Might be a better solution to use a users own auth tokens?
Here is the error: