changed to neighbors
This commit is contained in:
parent
11ab0556f4
commit
2ac5d01a76
@ -129,9 +129,8 @@ export function loadRouteserverProtocolSuccess(routeserverId, protocol, api) {
|
||||
export function loadRouteserverProtocol(routeserverId) {
|
||||
return (dispatch) => {
|
||||
dispatch(loadRouteserverProtocolRequest(routeserverId));
|
||||
axios.get(`/api/v1/routeservers/${routeserverId}/neighbours`)
|
||||
axios.get(`/api/v1/routeservers/${routeserverId}/neighbors`)
|
||||
.then(({data}) => {
|
||||
console.log("LRS:", data);
|
||||
dispatch(loadRouteserverProtocolSuccess(
|
||||
routeserverId,
|
||||
data.neighbours,
|
||||
|
@ -28,7 +28,7 @@ function routesUrl(type, rsId, pId, page, query) {
|
||||
rtype = "not-exported"; // This is a bit ugly
|
||||
}
|
||||
|
||||
let base = `/api/v1/routeservers/${rsId}/neighbours/${pId}/routes/${rtype}`
|
||||
let base = `/api/v1/routeservers/${rsId}/neighbors/${pId}/routes/${rtype}`
|
||||
let params = `?page=${page}&q=${query}`
|
||||
return base + params;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user