Skip to content

Commit

Permalink
style(js): Indent with tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
zak39 committed Nov 7, 2024
1 parent 54d7b7b commit a09b101
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/services/spaceService.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ export function renameSpace(spaceId, newSpaceName) {
return respFormat
})
.catch(error => {
if ('response' in error && 'data' in error.response) {
if ('response' in error && 'data' in error.response) {
showNotificationError(error.response.data.title, error.response.data.message, 5000)
throw new Error(error.response.data.message)
throw new Error(error.response.data.message)
} else {
showNotificationError('Error to rename a workspace', error.message, 5000)
console.error('Problem to rename the space', error)
throw new Error(error.message)
console.error('Problem to rename the space', error)
throw new Error(error.message)
}
})

Expand Down

0 comments on commit a09b101

Please sign in to comment.