Commit 2fe0ae6b authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Upgrade to new URL

parent c7ec2c96
import { url } from '../url';
import { apiUrl } from '../url';
import * as types from './actionTypes';
export function welcome(eventList) {
......@@ -19,7 +19,7 @@ export function retrieveShortlist(token, amount) {
},
};
return fetch(`${url}/api/events/?limit=${amount}&ordering=start`, data)
return fetch(`${apiUrl}/events/?limit=${amount}&ordering=start`, 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