From b4c5867fa7e693e1ccf67f317cd966c13cabcb33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20R=C3=B6sner?= <rene.roesner@fjd.de> Date: Mon, 23 May 2022 13:02:10 +0000 Subject: [PATCH] converted function to lambda --- docs/sending/start-submission.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/sending/start-submission.mdx b/docs/sending/start-submission.mdx index 244ebb47f..5122397e2 100644 --- a/docs/sending/start-submission.mdx +++ b/docs/sending/start-submission.mdx @@ -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); }); -- GitLab