Commit 0c376fae authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Only show registrations with registered status in event detail

parent 58193eb0
......@@ -25,7 +25,7 @@ function loadRegistrations(id, token) {
Authorization: `Token ${token}`,
},
};
return fetch(`${url}/api/events/${id}/registrations/`, data)
return fetch(`${url}/api/events/${id}/registrations/?status=registered`, data)
.then(
response => response.json(),
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment