Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicolas PERNOUD
Vestibule
Commits
6d56102f
Commit
6d56102f
authored
Nov 30, 2020
by
Nicolas Pernoud
Browse files
fix: code smells
parent
868688d0
Pipeline
#8883
passed with stages
in 2 minutes and 20 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
pkg/auth/inmemory_test.go
View file @
6d56102f
...
...
@@ -6,7 +6,7 @@ import (
"time"
)
func
Test
_s
etTokenLifetime
(
t
*
testing
.
T
)
{
func
Test
S
etTokenLifetime
(
t
*
testing
.
T
)
{
type
args
struct
{
key
string
value
string
...
...
web/components/apps/apps.js
View file @
6d56102f
...
...
@@ -402,7 +402,7 @@ async function postApp() {
throw
new
Error
(
`Apps could not be updated (status
${
response
.
status
}
)`
);
}
apps
=
await
response
.
json
();
await
displayApps
(
apps
);
displayApps
(
apps
);
await
reloadAppsOnServer
();
}
catch
(
e
)
{
HandleError
(
e
);
...
...
web/components/davs/davs.js
View file @
6d56102f
...
...
@@ -358,7 +358,7 @@ async function postDav() {
throw
new
Error
(
`Davs could not be updated (status
${
response
.
status
}
)`
);
}
davs
=
await
response
.
json
();
await
displayDavs
(
davs
);
displayDavs
(
davs
);
await
reloadDavsOnServer
();
}
catch
(
e
)
{
HandleError
(
e
);
...
...
Write
Preview
Supports
Markdown
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