Skip to content

Commit

Permalink
fix: error when syncing color to SD site
Browse files Browse the repository at this point in the history
  • Loading branch information
albanm committed Jan 7, 2025
1 parent 5799b92 commit 4fa9447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/router/portals.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async function syncPortalUpdate (portal, cookie) {
host: portal.host,
logo: `https://${portal.host}/api/v1/portals/${portal._id}/assets/logo?hash=${portal.config.assets.logo && portal.config.assets.logo.hash}`,
theme: {
primaryColor: config.themeColor || '#1E88E5'
primaryColor: portal.config.themeColor || '#1E88E5'
}
},
{ params: { key: config.secretKeys.sites } }
Expand Down

0 comments on commit 4fa9447

Please sign in to comment.