Connect feed posts to creator profiles
This commit is contained in:
1 parent
58d0c8a15a
commit
6ea5a386cf
4 files changed
+200
-24
No files matched your search
@@ -62,7 +62,6 @@ namespace OnlyPrompt.Backend.Controllers
|
||||
{
|
||||
var userId = User.GetUserId();
|
||||
var profile = await _db.UserProfiles.OfIdentifer(id)
|
||||
.Where(up => up.IsPublic || up.Id == userId)
|
||||
.ProjectTo<ApiUserProfile>(_mapper.ConfigurationProvider)
|
||||
.FirstOrDefaultAsync();
|
||||
|
||||
|
||||
Reference in new issue
Block a user