Skip to content

Commit

Permalink
Don't return updated user on new user join event
Browse files Browse the repository at this point in the history
  • Loading branch information
FeroxFoxxo committed Nov 4, 2023
1 parent 2759e83 commit 3828422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Levels/Services/LevelingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ public async Task GrantXp(int xp, XpType xptype, GuildUserLevel level, GuildLeve
await levelrepo.UpdateLevel(level);
}

public async Task<UpdatedUser> HandleUpdateRoles(IGuildUser user)
public async Task HandleUpdateRoles(IGuildUser user)
{
using var scope = _serviceProvider.CreateScope();
return await HandleUpdateRoles(user, scope);
var uuser = await HandleUpdateRoles(user, scope);
}

public async Task<UpdatedUser> HandleUpdateRoles(IGuildUser user, IServiceScope serviceScope)
Expand Down

0 comments on commit 3828422

Please sign in to comment.