Refactor and migrate more functions out of api into app package (#5063)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
97558f6a6e
Коммит
0e2b321e6f
@@ -5,6 +5,7 @@ package api
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/mattermost/platform/app"
|
||||
"github.com/mattermost/platform/model"
|
||||
"github.com/mattermost/platform/utils"
|
||||
"testing"
|
||||
@@ -39,5 +40,5 @@ func TestWebrtcToken(t *testing.T) {
|
||||
fmt.Println("Turn Password", result["turn_password"])
|
||||
}
|
||||
|
||||
RevokeWebrtcToken(sessionId)
|
||||
app.RevokeWebrtcToken(sessionId)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user