enarx-archive / bot

I'm a bot. Bleep. Blorp.
2 stars 4 forks source link

Fix 404 error when attempting to fetch assigned issues/PRs #58

Closed mbestavros closed 4 years ago

mbestavros commented 4 years ago

Attempting to fetch card content of a specific type (ex: Issue ) would result in a 404 if the card didn't have that content (ex. if the card was a PullRequest). This patch fetches the content without specifying type and then checks its type directly in code.