Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
fix(users): Profile Image URL default
Browse files Browse the repository at this point in the history
Fixes an issue where the default profile image url was incorrect.

Prefixing the default value in the User model schema with "/" fixes the
issue.
  • Loading branch information
mleanos committed Oct 28, 2017
1 parent 84ec1c8 commit ab89162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/users/server/models/user.server.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ var UserSchema = new Schema({
},
profileImageURL: {
type: String,
default: 'modules/users/client/img/profile/default.png'
default: '/modules/users/client/img/profile/default.png'
},
provider: {
type: String,
Expand Down

0 comments on commit ab89162

Please sign in to comment.