Skip to content

Commit

Permalink
Update 2.4.3 (#237)
Browse files Browse the repository at this point in the history
* improves compatibility with new deck (#229)

* fix: set default img of member

To allow back compatibility the img field of member need to be setted to
/static/default-profile.png in case of being empty.

---------

Co-authored-by: André Romão <[email protected]>
Co-authored-by: André Romão <[email protected]>
  • Loading branch information
3 people authored Jul 25, 2024
1 parent 5267821 commit 3213f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/resources/deck.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function transformCompany(company, options) {
function transformMember(member) {
return {
name: member.name,
img: member.img,
img: member.img || "/static/default-profile.png",
}
}

Expand Down

0 comments on commit 3213f7d

Please sign in to comment.