Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
Homework83_M11
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ли Джен Сеп
Homework83_M11
Commits
4c40d279
Commit
4c40d279
authored
Dec 20, 2024
by
bekzat kapan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#7
Поменял местами текста ошибок
parent
377fed63
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
requestSlice.ts
frontend/src/features/requestSlice.ts
+2
-2
No files found.
frontend/src/features/requestSlice.ts
View file @
4c40d279
...
...
@@ -26,7 +26,7 @@ export const encodeMessage = createAsyncThunk(
return
response
.
data
.
encoded
;
}
catch
(
error
:
any
)
{
throw
new
Error
(
error
.
response
?.
data
?.
message
||
'Error
en
coding message'
error
.
response
?.
data
?.
message
||
'Error
de
coding message'
);
}
}
...
...
@@ -40,7 +40,7 @@ export const decodeMessage = createAsyncThunk(
return
response
.
data
.
decoded
;
}
catch
(
error
:
any
)
{
throw
new
Error
(
error
.
response
?.
data
?.
message
||
'Error
de
coding message'
error
.
response
?.
data
?.
message
||
'Error
en
coding message'
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment