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

Commit 4c4f9a1

Browse files
authored
Fix serviceUrl paramters not added (#490)
1 parent e8fe6fd commit 4c4f9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public async Task<Template> CreateAPITemplateAsync(APIConfig api, bool isSplit,
6767
{ ParameterNames.ApimServiceName, new TemplateParameterProperties(){ type = "string" } }
6868
};
6969

70-
if (String.IsNullOrEmpty(api.serviceUrl))
70+
if (!String.IsNullOrEmpty(api.serviceUrl))
7171
{
7272
apiTemplate.parameters.Add(ParameterNames.ServiceUrl, new TemplateParameterProperties() { type = "object" });
7373
}

0 commit comments

Comments
 (0)