Fixes go.sum, remove slash on activate/deactivate module

This commit is contained in:
Akolzin Dmitry 2019-02-15 14:37:18 +03:00
parent 4c9dc6e286
commit 8b35fde2df

View file

@ -4,6 +4,7 @@ import (
"encoding/json"
"fmt"
"net/http"
"strings"
"time"
"github.com/gin-gonic/gin"
@ -194,7 +195,7 @@ func activityHandler(c *gin.Context) {
conn.Active = activity.Active && !activity.Freeze
if systemUrl != "" {
conn.APIURL = systemUrl
conn.APIURL = strings.TrimRight(systemUrl, "/")
}
if err := conn.setConnectionActivity(); err != nil {