@@ -133,7 +133,7 @@ |
||
133 | 133 | } else { |
134 | 134 | return response(Player::findOrFail($id)->games->take($request->limit), 200); |
135 | 135 | } |
136 | - } catch (\Illuminate\Database\Eloquent\ModelNotFoundException $e) { |
|
136 | + } catch (\Illuminate\Database\Eloquent\ModelNotFoundException $e) { |
|
137 | 137 | return response([ |
138 | 138 | 'error' => 'No player found.' |
139 | 139 | ], 400); |