Skip to content

Commit

Permalink
Merge pull request #56 from opencollective/fix/ui-avatar-colors
Browse files Browse the repository at this point in the history
Fix ui-avatar colors
  • Loading branch information
znarf authored May 21, 2019
2 parents ddcb346 + 387e39f commit 8c8ecea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 2 additions & 7 deletions scripts/setup_circleci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,8 @@ fi

cd "opencollective-api"
echo "> Restoring opencollective_dvl database for e2e testing";
export PGPORT=5432
export PGHOST=localhost
export PGUSER=ubuntu
npm run db:setup
./scripts/db_restore.sh -U ubuntu -d opencollective_dvl -f test/dbdumps/opencollective_dvl.pgsql
export PG_USERNAME=ubuntu
./scripts/sequelize.sh db:migrate
PGHOST=localhost PGUSER=postgres npm run db:restore
npm run db:migrate
if [ $? -ne 0 ]; then
echo "Error with restoring opencollective_dvl, exiting"
exit 1;
Expand Down
3 changes: 2 additions & 1 deletion src/server/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export const getUiAvatarUrl = (name, size, rounded = true) => {

url.searchParams.set('rounded', rounded);
url.searchParams.set('name', name);
url.searchParams.set('background', 'c4c7cc');
url.searchParams.set('color', 'c4c7cc');
url.searchParams.set('background', 'f2f3f5');
url.searchParams.set('size', size);

return url.toString();
Expand Down

0 comments on commit 8c8ecea

Please sign in to comment.