:drunk: AI trying to fix bugs

This commit is contained in:
2025-07-06 21:15:30 +08:00
parent 3391c08c04
commit 7d1f096e87
70 changed files with 681 additions and 66945 deletions

View File

@ -212,7 +212,7 @@ public class AccountCurrentController(
}
[HttpPost("statuses")]
[DysonNetwork.Sphere.Permission.RequiredPermission("global", "accounts.statuses.create")]
[DysonNetwork.Common.Services.Permission.RequiredPermission("global", "accounts.statuses.create")]
public async Task<ActionResult<Status>> CreateStatus([FromBody] AccountController.StatusRequest request)
{
if (HttpContext.Items["CurrentUser"] is not Common.Models.Account currentUser) return Unauthorized();