✨ Web version login
This commit is contained in:
@ -174,13 +174,4 @@ public class AccountController(
|
||||
.Take(take)
|
||||
.ToListAsync();
|
||||
}
|
||||
|
||||
[HttpPost("/maintenance/ensureProfileCreated")]
|
||||
[Authorize]
|
||||
[RequiredPermission("maintenance", "accounts.profiles")]
|
||||
public async Task<ActionResult> EnsureProfileCreated()
|
||||
{
|
||||
await accounts.EnsureAccountProfileCreated();
|
||||
return Ok();
|
||||
}
|
||||
}
|
@ -288,7 +288,7 @@ public class NotificationService(
|
||||
|
||||
var client = httpFactory.CreateClient();
|
||||
client.BaseAddress = _notifyEndpoint;
|
||||
var request = await client.PostAsync("/api/push", new StringContent(
|
||||
var request = await client.PostAsync("/push", new StringContent(
|
||||
JsonSerializer.Serialize(requestDict),
|
||||
Encoding.UTF8,
|
||||
"application/json"
|
||||
|
Reference in New Issue
Block a user