mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-26 11:17:47 +00:00
Added storage quotas
This commit is contained in:
@@ -46,13 +46,9 @@ namespace PodNoms.Api.Controllers {
|
||||
}
|
||||
|
||||
[HttpGet("checkslug/{slug}")]
|
||||
public async Task<IActionResult> CheckSlug(string slug) {
|
||||
public async Task<ActionResult<bool>> CheckSlug(string slug) {
|
||||
var slugValid = await _userManager.CheckSlug(slug);
|
||||
|
||||
if (slugValid)
|
||||
return NotFound();
|
||||
|
||||
return Ok();
|
||||
return Ok(slugValid);
|
||||
}
|
||||
|
||||
[HttpGet("limits")]
|
||||
|
||||
Reference in New Issue
Block a user