File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/commands/executeFunction/eventGrid Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,12 @@ import { type EventGridExecuteFunctionContext } from "./EventGridExecuteFunction
1111// Using a specific commit SHA to fetch EventGrid sample files since they were removed from main branch
1212// See: https://github.com/Azure/azure-rest-api-specs/issues/38235
1313// See: https://github.com/Azure/azure-rest-api-specs/pull/38236
14+ // Pinned commit: https://github.com/Azure/azure-rest-api-specs/commit/752dade436619ed28bd03ca2e77cfa5acf6222dd
15+ const eventGridSamplesRef = '752dade436619ed28bd03ca2e77cfa5acf6222dd' ;
1416const sampleFilesUrl =
1517 'https://api.github.com/repos/Azure/azure-rest-api-specs/contents/specification/eventgrid/data-plane/' +
1618 '{eventSource}' +
17- ' /stable/2018-01-01/examples/cloud-events-schema?ref=752dade436619ed28bd03ca2e77cfa5acf6222dd' ;
19+ ` /stable/2018-01-01/examples/cloud-events-schema?ref=${ eventGridSamplesRef } ` ;
1820
1921type FileMetadata = {
2022 name : string ;
You can’t perform that action at this time.
0 commit comments