Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Mar 27, 2019
1 parent 51c8aba commit a0f3a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ async function fetchFollowees() {
console.log('Dashboard extension: updating list of people you follow from GitHub API (once every 24h)')
return new Promise(async function(resolve) {
let followees = []
const user = document.querySelector('.Header-link .avatar').alt.slice(1)
const user = document.querySelector('.HeaderNavlink.name .avatar, .Header-link .avatar').alt.slice(1)
const endpoint = `https://api.github.com/users/${user}/following`
let page = 1
while (page > 0) {
Expand Down

0 comments on commit a0f3a9e

Please sign in to comment.