🐛 Fix again for included non-exists anymore attachments field

This commit is contained in:
2025-06-02 02:56:58 +08:00
parent 568afc981e
commit f5fb133e99
3 changed files with 0 additions and 6 deletions

View File

@ -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.");