Skip to content

Commit

Permalink
#359: The accepts function only take one argument
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Jun 15, 2023
1 parent 97e720e commit 2634e02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
if(fieldName === "${fieldName}" ){
<#attempt>
<#if '${fieldName}' == 'username' || '${fieldName}' == 'password'>
return <#if messagesPerField.exists('username', 'password')>x<#else>undefined</#if>;
return <#if messagesPerField.exists('username') || messagesPerField.exists('password')>x<#else>undefined</#if>;
<#else>
return <#if messagesPerField.exists('${fieldName}')>x<#else>undefined</#if>;
</#if>
Expand Down

0 comments on commit 2634e02

Please sign in to comment.