Connect feed posts to creator profiles

This commit is contained in:
nachbaisabel committed 2026-05-30 21:59:55 +02:00
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();