Skip to content

Commit

Permalink
v3.11.1 (#267)
Browse files Browse the repository at this point in the history
* Add logging for challenge sync at the info level.

* Remove unused validator.
  • Loading branch information
sei-bstein authored Oct 9, 2023
1 parent b0067d1 commit 744e40f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/Gameboard.Api/Features/Challenge/ChallengeValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ public Task Validate(object model)
throw new System.NotImplementedException();
}

private Task _validate(PlayerDataFilter model)
{
return Task.CompletedTask;
}

private async Task _validate(Entity model)
{
if ((await _store.Exists(model.Id)).Equals(false))
Expand Down
2 changes: 1 addition & 1 deletion src/Gameboard.Api/Features/Player/PlayerValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private async Task _validate(TeamAdvancement model)

public async Task _validate(SessionResetCommandArgs args)
{
if (!(await Exists(args.PlayerId)))
if (!await Exists(args.PlayerId))
throw new ResourceNotFound<Player>(args.PlayerId);

if (IsActingAsAdmin(args.ActingUser))
Expand Down

0 comments on commit 744e40f

Please sign in to comment.