Commit c37dce9
committed
fix: don't restrict interface gateway assignment by id
Addresses an issue that prevented gateways from being assigned to an interface when the REST API 'represent_interfaces_as' setting was not set to 'id'. Previously the related RoutingGateway model query used the interface's literal id value, but when interfaces are not represented by its id the query will always return nothing, therefor a gateway cannot be assigned1 parent 0856ab9 commit c37dce9
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
0 commit comments