This commit is contained in:
Синельник Тимур Романович committed 2026-03-18 16:51:54 +03:00
1 parent b692728cc3
commit 59875487ae
7 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ func (p Grpc) handleError(err error, w http.ResponseWriter, endpoint string) err
)
}
func (p Grpc) writeProto(statusCode int, proto interface{}, w http.ResponseWriter) error {
func (p Grpc) writeProto(statusCode int, proto any, w http.ResponseWriter) error {
data, err := json.Marshal(proto)
if err != nil {
return errors.WithMessage(err, "marshal grpc details to json")