Lookup forge_remote_id by repo path #4231
-
Hello, here is what I am trying to do: My expected behavior:
However, Looking at the network requests in the UI, when I try to add a repo, it pulls all repo's for my user.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think so. I might be possible to get the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip, I will look it up independently for now. const res = await fetch(`https://api.github.com/repos/${user}/${reponame}`, {
headers: { Authorization: `Bearer ${token}` }
})
const resJson = await res.json()
console.log({forgeId: resJson.id}) |
Beta Was this translation helpful? Give feedback.
Thanks for the tip, I will look it up independently for now.