Skip to content

Commit

Permalink
fix: sonar cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangoulding committed Apr 29, 2024
1 parent c34f782 commit fb99f03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/presenters/licences/view-licence.presenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ function _endDate (expiredDate) {
}

function _getAuthRoles (auth) {
return auth?.credentials?.roles?.map(role => role?.role) || null
return auth?.credentials?.roles?.map((role) => {
return role?.role
}) || null
}

function _generateAbstractionContent (pointDetail) {
Expand Down

0 comments on commit fb99f03

Please sign in to comment.