From 7af7fa9ebe342dcada4065368951b410813199b4 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:14 +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 5122397e2..270d85904 100644 --- a/docs/sending/start-submission.mdx +++ b/docs/sending/start-submission.mdx @@ -88,9 +88,7 @@ const config = { axios(config) .then(response => console.log(JSON.stringify(response.data))) -.catch(function (error) { - console.log(error); -}); +.catch(error => console.log(error)); ``` -- GitLab