Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit fe93f9b

Browse files
committed
Break on a missing repository
1 parent 378a113 commit fe93f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/models/user-store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default class UserStore {
175175
console.error(`Error fetching mentionable users:\n${response.errors.map(e => e.message).join('\n')}`);
176176
}
177177

178-
if (!response.data) {
178+
if (!response.data || !response.data.repository) {
179179
break;
180180
}
181181

0 commit comments

Comments
 (0)