Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoAssignmentChecker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Pipelines
DojoAssignmentChecker
Commits
3b4c7143
Commit
3b4c7143
authored
1 year ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
Sonar => Resolve issues
parent
f0218ee5
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#30062
passed
1 year ago
Stage: code_quality
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
AssignmentChecker/src/managers/HttpManager.ts
+1
-1
1 addition, 1 deletion
AssignmentChecker/src/managers/HttpManager.ts
AssignmentChecker/src/shared
+1
-1
1 addition, 1 deletion
AssignmentChecker/src/shared
AssignmentChecker/src/sharedByClients
+1
-1
1 addition, 1 deletion
AssignmentChecker/src/sharedByClients
with
3 additions
and
3 deletions
AssignmentChecker/src/managers/HttpManager.ts
+
1
−
1
View file @
3b4c7143
...
@@ -50,7 +50,7 @@ class HttpManager {
...
@@ -50,7 +50,7 @@ class HttpManager {
}
}
private
registerResponseInterceptor
()
{
private
registerResponseInterceptor
()
{
axios
.
interceptors
.
response
.
use
(
response
=>
response
,
(
error
)
=>
{
axios
.
interceptors
.
response
.
use
(
response
=>
response
,
error
=>
{
if
(
error
.
response
)
{
if
(
error
.
response
)
{
if
(
error
.
response
.
status
===
StatusCodes
.
METHOD_NOT_ALLOWED
&&
error
.
response
.
data
)
{
if
(
error
.
response
.
status
===
StatusCodes
.
METHOD_NOT_ALLOWED
&&
error
.
response
.
data
)
{
const
data
:
DojoBackendResponse
<
void
>
=
error
.
response
.
data
;
const
data
:
DojoBackendResponse
<
void
>
=
error
.
response
.
data
;
...
...
This diff is collapsed.
Click to expand it.
shared
@
75fedb26
Compare
fca59c4d
...
75fedb26
Subproject commit
fca59c4d155603b53d48a30401aabab82d91fc59
Subproject commit
75fedb26c47bb6f707725307a79a45a13e62496d
This diff is collapsed.
Click to expand it.
sharedByClients
@
c4efbcfb
Compare
9e75273d
...
c4efbcfb
Subproject commit
9e75273d4600f5f42c8be3c24bdced6844c32449
Subproject commit
c4efbcfb2a50e7108e101fb673e84f87fad8e246
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment