Polish for Release (#3714)

This commit is contained in:
Joe Milazzo
2025-04-08 17:25:37 -06:00
committed by GitHub
parent 9d9938bce2
commit c80d046fc7
20 changed files with 3611 additions and 41 deletions
+11
View File
@@ -270,4 +270,15 @@ public class ScrobblingController : BaseApiController
await _unitOfWork.CommitAsync();
return Ok();
}
/// <summary>
/// Has the logged in user ran scrobble generation
/// </summary>
/// <returns></returns>
[HttpGet("has-ran-scrobble-gen")]
public async Task<ActionResult<bool>> HasRanScrobbleGen()
{
var user = await _unitOfWork.UserRepository.GetUserByIdAsync(User.GetUserId());
return Ok(user is {HasRunScrobbleEventGeneration: true});
}
}