Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit dce94f6

Browse files
authored
Update APITemplateCreator.cs (#420)
I guess there is a bug during the creation of individual arm file per Api. Only with this new line I as able to create/update APIM for new APIs with the backendURL correctly set.
1 parent ca3a68a commit dce94f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/APIM_ARMTemplate/apimtemplate/Creator/TemplateCreators/APITemplateCreator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ public async Task<APITemplateResource> CreateAPITemplateResourceAsync(APIConfig
224224
apiTemplateResource.properties.format = format;
225225
apiTemplateResource.properties.value = value;
226226
apiTemplateResource.properties.path = api.suffix;
227+
apiTemplateResource.properties.serviceUrl = api.serviceUrl;
228+
227229
}
228230
return apiTemplateResource;
229231
}

0 commit comments

Comments
 (0)