Skip to content

Commit

Permalink
Remove api version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweininger committed Jul 20, 2023
1 parent df15761 commit 15db4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appservice/src/siteFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface ISiteFileMetadata {
* @param path - Do not include leading slash. Include trailing slash if path represents a folder.
*/
export function createSiteFilesUrl(site: ParsedSite, path: string): string {
return `${site.kuduUrl}/api/vfs/${path}?api-version=2022=03-01`
return `${site.kuduUrl}/api/vfs/${path}`
}

export async function getFile(context: IActionContext, site: ParsedSite, url: string): Promise<ISiteFile> {
Expand Down

0 comments on commit 15db4a4

Please sign in to comment.