Permalink
Browse files

providing movers with list of matches

  • Loading branch information...
1 parent 374a930 commit d16ecaffd1c53a3ec3c4af72176472973cb32f79 @polettix committed Sep 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Narsil/WebService.pm
@@ -851,7 +851,7 @@ get '/user/matches/:id' => sub {
my $model = model();
my @matches = map {
my $match = $model->get_match($_);
- my $retval = _serializable_match($match, 'participants' );
+ my $retval = _serializable_match($match, 'participants', 'movers' );
$retval->{game} = {
uri => $retval->{game},
name => $match->game()->name(),

0 comments on commit d16ecaf

Please sign in to comment.