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>
|
<LangVersion>latest</LangVersion>
|
||||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||||
<IsRoslynComponent>true</IsRoslynComponent>
|
<IsRoslynComponent>true</IsRoslynComponent>
|
||||||
|
<ImplicitUsings>true</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -193,7 +193,7 @@ public class ClubService : INService, IClubService
|
||||||
{
|
{
|
||||||
discordUser = null;
|
discordUser = null;
|
||||||
using var uow = _db.GetDbContext();
|
using var uow = _db.GetDbContext();
|
||||||
var club = uow.Clubs.GetByOwnerOrAdmin(clubOwnerUserId);
|
var club = uow.Set<ClubInfo>().GetByOwnerOrAdmin(clubOwnerUserId);
|
||||||
if (club is null)
|
if (club is null)
|
||||||
return ClubDenyResult.NotOwnerOrAdmin;
|
return ClubDenyResult.NotOwnerOrAdmin;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue