Skip to content

Commit 56f1afc

Browse files
committed
Fix missing formatting code
1 parent 091e2dd commit 56f1afc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

handlers/fun/chess/match.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func matchOpponent(ctx context.Context, qtx *api.Queries, match api.ChessMatch,
6363
}
6464
opponent, err := qtx.UserByID(ctx, opponentID)
6565
if err != nil {
66-
return nil, fmt.Errorf("UserByID", err)
66+
return nil, fmt.Errorf("UserByID: %w", err)
6767
}
6868
return &opponent, nil
6969
}

0 commit comments

Comments
 (0)