Skip to content

Commit

Permalink
[xojo] fix use of isBasic from #15194 (#15761)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffmaelite committed Jun 6, 2023
1 parent d3a2e0e commit b5d766d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Protected Class {{classname}}
End If
localVarQueryParams = localVarQueryParams + "{{keyParamName}}=" + Me.ApiKey{{{name}}}{{/isKeyInQuery}}
{{#isKeyInHeader}}localVarHTTPSocket.SetRequestHeader(EncodeURLComponent("{{keyParamName}}"), EncodeURLComponent(me.ApiKey{{{name}}})){{/isKeyInHeader}}{{/isApiKey}}
{{#isBasic}}AddHandler localVarHTTPSocket.AuthenticationRequired, addressof Me.AuthenticationRequired{{/isBasic}}{{/authMethods}}{{/hasAuthMethods}}
{{#isBasicBasic}}AddHandler localVarHTTPSocket.AuthenticationRequired, addressof Me.AuthenticationRequired{{/isBasicBasic}}{{/authMethods}}{{/hasAuthMethods}}
{{#hasCookieParams}}
Dim localVarCookies() As String
{{#cookieParams}}
Expand Down

0 comments on commit b5d766d

Please sign in to comment.