[M-36899] Remove deprecated SourcePluginId (#17884)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2488b980e8
Коммит
758116f3e3
@@ -69,9 +69,8 @@ func (a *App) ServeInterPluginRequest(w http.ResponseWriter, r *http.Request, so
|
||||
}
|
||||
|
||||
context := &plugin.Context{
|
||||
RequestId: model.NewId(),
|
||||
UserAgent: r.UserAgent(),
|
||||
SourcePluginId: sourcePluginId,
|
||||
RequestId: model.NewId(),
|
||||
UserAgent: r.UserAgent(),
|
||||
}
|
||||
|
||||
r.Header.Set("Mattermost-Plugin-ID", sourcePluginId)
|
||||
|
||||
@@ -12,5 +12,4 @@ type Context struct {
|
||||
IpAddress string
|
||||
AcceptLanguage string
|
||||
UserAgent string
|
||||
SourcePluginId string // Deprecated: Use the "Mattermost-Plugin-ID" HTTP header instead
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user