Skip to content

Commit 470c169

Browse files
committed
feat: Update airline controller to include only necessary attributes
1 parent 2ce00c1 commit 470c169

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/controllers/api/v1/airlines_controller.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ def to_airport
119119
country: airline[1],
120120
iata: airline[2],
121121
icao: airline[3],
122-
id: airline[4],
123-
name: airline[5]
122+
name: airline[4]
124123
}
125124
end
126125

0 commit comments

Comments
 (0)