We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba9411 commit 49012a7Copy full SHA for 49012a7
src/Pages/GlobalConfigurations/Authorization/service.ts
@@ -5,6 +5,7 @@ import { stringComparatorBySortOrder } from '@Shared/Helpers'
5
import { DefaultUserKey } from '@Shared/types'
6
import { GroupBase } from 'react-select'
7
8
+// FIXME: Common out the typing and url from dashboard
9
export const getUserAndApiTokenOptions = async (): Promise<GroupBase<SelectPickerCustomOptionType<string>>[]> => {
10
const [{ result: userResponse }, { result: apiTokenResponse }] = await Promise.all([
11
get('user/v2'),
0 commit comments