🐛 Fix again for included non-exists anymore attachments field
This commit is contained in:
@ -77,8 +77,6 @@ public class AccountCurrentController(
|
||||
|
||||
var profile = await db.AccountProfiles
|
||||
.Where(p => p.Account.Id == userId)
|
||||
.Include(profile => profile.Background)
|
||||
.Include(profile => profile.Picture)
|
||||
.FirstOrDefaultAsync();
|
||||
if (profile is null) return BadRequest("Unable to get your account.");
|
||||
|
||||
|
Reference in New Issue
Block a user