File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,17 +107,17 @@ export const utils = {
107107 resourceEndpoint: 'ACS_RESOURCE_ENDPOINT' // e.g., 'https://contoso.unitedstates.communication.azure.com/'
108108 };
109109 */
110- const fetchEntraConfigs = async ( ) => {
110+ const fetchEntraConfig = async ( ) => {
111111 const response = await axios ( {
112- url : 'entraConfigs ' ,
112+ url : 'entraConfig ' ,
113113 method : 'GET'
114114 } ) ;
115115 if ( response . status !== 200 ) {
116116 throw new Error ( 'Failed to get entra configs' ) ;
117117 }
118118 return response . data ;
119119 }
120- const entraCredentialConfig = await fetchEntraConfigs ( ) ;
120+ const entraCredentialConfig = await fetchEntraConfig ( ) ;
121121
122122 const tokenCredential = new InteractiveBrowserCredential ( {
123123 redirectUri : window . location . href , // e.g., 'http://localhost:3000'
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ module.exports = {
213213 res . sendStatus ( 400 ) ;
214214 }
215215 } ) ;
216- devServer . app . get ( '/entraConfigs ' , async ( req , res ) => {
216+ devServer . app . get ( '/entraConfig ' , async ( req , res ) => {
217217 try {
218218 res . setHeader ( 'Content-Type' , 'application/json' ) ;
219219 res . status ( 200 ) . json ( {
You can’t perform that action at this time.
0 commit comments