Fix build

This commit is contained in:
Kwoth
2023-10-23 18:32:08 +00:00
parent 94c08b0b9e
commit a28be0d343
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
<LangVersion>latest</LangVersion>
<IncludeBuildOutput>false</IncludeBuildOutput>
<IsRoslynComponent>true</IsRoslynComponent>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
<ItemGroup>

View File

@@ -193,7 +193,7 @@ public class ClubService : INService, IClubService
{
discordUser = null;
using var uow = _db.GetDbContext();
var club = uow.Clubs.GetByOwnerOrAdmin(clubOwnerUserId);
var club = uow.Set<ClubInfo>().GetByOwnerOrAdmin(clubOwnerUserId);
if (club is null)
return ClubDenyResult.NotOwnerOrAdmin;