Formatting

This commit is contained in:
phoenix
2025-03-10 19:57:20 -04:00
parent f9162fc69c
commit f2aeeb1af4
3 changed files with 37 additions and 24 deletions
+2 -1
View File
@@ -125,7 +125,8 @@ public class TokenManager : BaseManager
// album, song, et cetera
public bool CanAccessSong(string token, Song song, AccessLevel accessLevel)
{
if (accessLevel!.Level!.Equals(Models.AccessLevel.DefaultLevel().Level)) {
if (accessLevel!.Level!.Equals(Models.AccessLevel.DefaultLevel().Level))
{
return true;
}
var tokenUserId = this.RetrieveUserIdFromToken(token);