Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Data / DevHive.Data.Models / User.cs
diff options
context:
space:
mode:
Commit8282f6c3f89ee65be155d453ddd705892b07628e (patch)
Author
 transtrike <transtrike@gmail.com>
2021-03-28 19:21:49 +0300
Committer
 transtrike <transtrike@gmail.com>
2021-03-28 19:21:49 +0300
Files822ce9d4043e2560234b21da568f685272cf722a /src/Data/DevHive.Data.Models/User.cs
DevHive-8282f6c3f89ee65be155d453ddd705892b07628e.tar
DevHive-8282f6c3f89ee65be155d453ddd705892b07628e.tar.gz
DevHive-8282f6c3f89ee65be155d453ddd705892b07628e.zip
Parenta789a23c3c8ddde8188f2da40402a1803f838f89 (diff)
ProfilePic saved in User fixed
1 files changed, 1 insertions, 2 deletions
-rw-r--r--src/Data/DevHive.Data.Models/User.cs3
diff --git a/src/Data/DevHive.Data.Models/User.cs b/src/Data/DevHive.Data.Models/User.cs
index f6cd3b9..d3789ec 100644
--- a/src/Data/DevHive.Data.Models/User.cs
+++ b/src/Data/DevHive.Data.Models/User.cs
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
-using DevHive.Data.Models.Relational;
using Microsoft.AspNetCore.Identity;
namespace DevHive.Data.Models
@@ -13,7 +12,7 @@ namespace DevHive.Data.Models
public string LastName { get; set; }
- public ProfilePicture ProfilePicture { get; set; } = new();
+ public ProfilePicture ProfilePicture { get; set; } = new() { PictureURL = ProfilePicture.DefaultURL };
public HashSet<Language> Languages { get; set; } = new();