MSP-7007 update dependencies

This commit is contained in:
Пучков Андрей Павлович committed 2026-01-14 10:31:27 +03:00
1 parent e6c241f112
commit d4f5d7d66f
4 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ func (p Grpc) Handle(ctx *request.Context) error {
md[grpc.DomainIdHeader] = []string{strconv.Itoa(authData.DomainId)}
md[grpc.ServiceIdHeader] = []string{strconv.Itoa(authData.ServiceId)}
md[grpc.ApplicationIdHeader] = []string{strconv.Itoa(authData.ApplicationId)}
md[xAppNameHeader] = []string{authData.AppName}
md[grpc.ApplicationNameHeader] = []string{authData.AppName}
if ctx.IsAdminAuthenticated() {
md[xAdminIdHeader] = []string{strconv.Itoa(ctx.AdminId())}
}
+1 -1
View File
@@ -100,7 +100,7 @@ func setHttpHeaders(ctx *request.Context, header http.Header, skipAuth bool) err
header.Set(grpc.DomainIdHeader, strconv.Itoa(authData.DomainId))
header.Set(grpc.ServiceIdHeader, strconv.Itoa(authData.ServiceId))
header.Set(grpc.ApplicationIdHeader, strconv.Itoa(authData.ApplicationId))
header.Set(xAppNameHeader, authData.AppName) //nolint:canonicalheader
header.Set(grpc.ApplicationNameHeader, authData.AppName) //nolint:canonicalheader
if ctx.IsAdminAuthenticated() {
header.Set(xAdminIdHeader, strconv.Itoa(ctx.AdminId())) //nolint:canonicalheader
} else {