Commit 6d56102f authored by Nicolas Pernoud's avatar Nicolas Pernoud
Browse files

fix: code smells

parent 868688d0
Pipeline #8883 passed with stages
in 2 minutes and 20 seconds
......@@ -6,7 +6,7 @@ import (
"time"
)
func Test_setTokenLifetime(t *testing.T) {
func TestSetTokenLifetime(t *testing.T) {
type args struct {
key string
value string
......
......@@ -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);
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment