File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- import { readAuthSettings } from "utils/identity/identity-helpers" ;
1
+ import { readIdentitySettings } from "utils/identity/identity-helpers" ;
2
2
import { bookmarksResponse } from "utils/config/api-response" ;
3
3
import { getSettings } from "utils/config/config" ;
4
4
5
5
export default async function handler ( req , res ) {
6
- const { provider, groups } = readAuthSettings ( getSettings ( ) . identity ) ;
6
+ const { provider, groups } = readIdentitySettings ( getSettings ( ) . identity ) ;
7
7
res . send ( await bookmarksResponse ( provider . authorize ( req ) , groups ) ) ;
8
8
}
Original file line number Diff line number Diff line change 1
- import { readAuthSettings } from "utils/identity/identity-helpers" ;
1
+ import { readIdentitySettings } from "utils/identity/identity-helpers" ;
2
2
import { servicesResponse } from "utils/config/api-response" ;
3
3
import { getSettings } from "utils/config/config" ;
4
4
Original file line number Diff line number Diff line change 1
- import { readAuthSettings } from "utils/identity/identity-helpers" ;
1
+ import { readIdentitySettings } from "utils/identity/identity-helpers" ;
2
2
import { widgetsResponse } from "utils/config/api-response" ;
3
3
import { getSettings } from "utils/config/config" ;
4
4
5
5
export default async function handler ( req , res ) {
6
- const { provider } = readAuthSettings ( getSettings ( ) . identity ) ;
6
+ const { provider } = readIdentitySettings ( getSettings ( ) . identity ) ;
7
7
res . send ( await widgetsResponse ( provider . getIdentity ( req ) ) ) ;
8
8
}
You can’t perform that action at this time.
0 commit comments