Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoCLI
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
UI
DojoCLI
Commits
609d4b29
Commit
609d4b29
authored
1 year ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
SessionManager => Bug fix: use the new location of the getApiUrl function
parent
483ca1c8
No related branches found
No related tags found
1 merge request
!10
Resolve "Add sonar integration"
Pipeline
#30068
canceled
1 year ago
Stage: code_quality
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NodeApp/src/managers/SessionManager.ts
+2
-1
2 additions, 1 deletion
NodeApp/src/managers/SessionManager.ts
with
2 additions
and
1 deletion
NodeApp/src/managers/SessionManager.ts
+
2
−
1
View file @
609d4b29
...
@@ -21,6 +21,7 @@ import GitlabToken from '../shared/types/Gitlab/GitlabToken';
...
@@ -21,6 +21,7 @@ import GitlabToken from '../shared/types/Gitlab/GitlabToken';
import
open
from
'
open
'
;
import
open
from
'
open
'
;
import
{
sessionConfigFile
}
from
'
../config/ConfigFiles
'
;
import
{
sessionConfigFile
}
from
'
../config/ConfigFiles
'
;
import
TextStyle
from
'
../types/TextStyle
'
;
import
TextStyle
from
'
../types/TextStyle
'
;
import
DojoBackendHelper
from
'
../sharedByClients/helpers/Dojo/DojoBackendHelper
'
;
class
LoginServer
{
class
LoginServer
{
...
@@ -293,7 +294,7 @@ class SessionManager {
...
@@ -293,7 +294,7 @@ class SessionManager {
}
}
try
{
try
{
await
axios
.
get
(
DojoBackend
Manag
er
.
getApiUrl
(
ApiRoute
.
TEST_SESSION
),
{});
await
axios
.
get
(
DojoBackend
Help
er
.
getApiUrl
(
ApiRoute
.
TEST_SESSION
),
{});
if
(
verbose
)
{
if
(
verbose
)
{
spinner
.
succeed
(
`The session is valid`
);
spinner
.
succeed
(
`The session is valid`
);
...
...
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