summaryrefslogtreecommitdiff
path: root/source/features/mark-private-orgs.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/mark-private-orgs.tsx')
-rw-r--r--source/features/mark-private-orgs.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/features/mark-private-orgs.tsx b/source/features/mark-private-orgs.tsx
index 37c01c98..0991e444 100644
--- a/source/features/mark-private-orgs.tsx
+++ b/source/features/mark-private-orgs.tsx
@@ -4,9 +4,10 @@ import cache from 'webext-storage-cache';
import select from 'select-dom';
import EyeClosedIcon from 'octicon/eye-closed.svg';
import * as pageDetect from 'github-url-detection';
-import {getUsername} from '../libs/utils';
-import features from '../libs/features';
+
import * as api from '../libs/api';
+import features from '../libs/features';
+import {getUsername} from '../libs/utils';
const getPublicOrganizationsNames = cache.function(async (username: string): Promise<string[]> => {
// API v4 seems to *require* `org:read` permission AND it includes private organizations as well, which defeats the purpose. There's no way to filter them.