Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
2fe0ae6b
Commit
2fe0ae6b
authored
Jun 07, 2017
by
Wietse Kuipers
Browse files
Upgrade to new URL
parent
c7ec2c96
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/actions/welcome.js
View file @
2fe0ae6b
import
{
u
rl
}
from
'
../url
'
;
import
{
apiU
rl
}
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
(),
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment