Skip to content

Commit

Permalink
Execute followup user query only when account type is user
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed May 11, 2021
1 parent 566db7b commit 50b93a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/plugins/followup/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default async function({login, data, computed, imports, q, graphql, queri
}

//Load user issues and pull requests
if (sections.includes("user")) {
if ((account === "user")&&(sections.includes("user"))) {
const {user} = await graphql(queries.followup.user({login}))
followup.user = {
issues:{
Expand Down

0 comments on commit 50b93a7

Please sign in to comment.