mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2024-10-03 04:23:13 +00:00
Fix build
This commit is contained in:
parent
94c08b0b9e
commit
a28be0d343
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
<LangVersion>latest</LangVersion>
|
||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||
<IsRoslynComponent>true</IsRoslynComponent>
|
||||
<ImplicitUsings>true</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue