Skip to content
Snippets Groups Projects
Commit b4c5867f authored by Rene Roesner's avatar Rene Roesner Committed by Pascal Osterwinter
Browse files

converted function to lambda

parent d1345365
No related branches found
No related tags found
1 merge request!172Updated Javascript code snippet to start a submission
......@@ -87,9 +87,7 @@ const config = {
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.then(response => console.log(JSON.stringify(response.data)))
.catch(function (error) {
console.log(error);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment