File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,19 +80,19 @@ export async function load(
8080
8181/**
8282 * Loads the data from a CDN and returns an instance of AzureAppConfiguration.
83- * @param endpoint The URL to the CDN.
84- * @param options Optional parameters.
83+ * @param cdnEndpoint The URL to the CDN.
84+ * @param appConfigOptions Optional parameters.
8585 */
8686export async function loadFromCdn ( endpoint : URL | string , options ?: AzureAppConfigurationOptions ) : Promise < AzureAppConfiguration > ;
8787
8888export async function loadFromCdn (
89- endpoint : string | URL ,
89+ cdnEndpoint : string | URL ,
9090 appConfigOptions ?: AzureAppConfigurationOptions
9191) : Promise < AzureAppConfiguration > {
9292 const emptyTokenCredential : TokenCredential = {
9393 getToken : async ( ) => ( { token : "" , expiresOnTimestamp : 0 } )
9494 } ;
95- return await load ( endpoint , emptyTokenCredential , appConfigOptions ) ;
95+ return await load ( cdnEndpoint , emptyTokenCredential , appConfigOptions ) ;
9696}
9797
9898function instanceOfTokenCredential ( obj : unknown ) {
You can’t perform that action at this time.
0 commit comments