From 95461a0a2c4087e83b17af539571ffa9cf08a9c2 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 24 Jul 2024 06:32:30 +0000 Subject: [PATCH] style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf This commit fixes the style issues introduced in 6002370 according to the output from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf. Details: None --- .../pi_coin_voting_system/actions/ar.actions.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/blockchain_integration/pi_network/pi_coin_voting_system/actions/ar.actions.js b/blockchain_integration/pi_network/pi_coin_voting_system/actions/ar.actions.js index 926659675..3039d36e0 100644 --- a/blockchain_integration/pi_network/pi_coin_voting_system/actions/ar.actions.js +++ b/blockchain_integration/pi_network/pi_coin_voting_system/actions/ar.actions.js @@ -3,7 +3,8 @@ import axios from 'axios'; export const getARDashboardData = () => { return (dispatch) => { dispatch({ type: 'AR_DATA_LOADING' }); - axios.get('https://example.com/ar-dashboard-data') + axios + .get('https://example.com/ar-dashboard-data') .then((response) => { const data = response.data; dispatch({ type: 'AR_DATA_RECEIVED', data }); @@ -17,7 +18,8 @@ export const getARDashboardData = () => { export const getARModel = (id) => { return (dispatch) => { dispatch({ type: 'AR_MODEL_LOADING' }); - axios.get(`https://example.com/ar-models/${id}`) + axios + .get(`https://example.com/ar-models/${id}`) .then((response) => { const model = response.data; dispatch({ type: 'AR_MODEL_RECEIVED', model }); @@ -31,7 +33,8 @@ export const getARModel = (id) => { export const uploadARModel = (model) => { return (dispatch) => { dispatch({ type: 'AR_MODEL_UPLOADING' }); - axios.post('https://example.com/ar-models', model) + axios + .post('https://example.com/ar-models', model) .then((response) => { const model = response.data; dispatch({ type: 'AR_MODEL_UPLOADED', model });