fix: Correct missed name updates to OutgoingInterceptor.

This commit is contained in:
Todd Knight committed 2020-09-01 10:08:18 -07:00
1 parent c4522aa813
commit 24ec9620ca
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ func handleGrpcGateway(c *Controller, props HandlerProperties) (http.Handler, er
},
}),
runtime.WithErrorHandler(handlers.ErrorHandler(c.logger)),
runtime.WithForwardResponseOption(handlers.OutgoingIntercepter),
runtime.WithForwardResponseOption(handlers.OutgoingInterceptor),
)
hcs, err := host_catalogs.NewService(c.StaticHostRepoFn)
if err != nil {
@@ -13,7 +13,7 @@ import (
func TestOutgoingSplitCookie(t *testing.T) {
rec := httptest.NewRecorder()
OutgoingIntercepter(context.Background(), rec, &pbs.AuthenticateResponse{
OutgoingInterceptor(context.Background(), rec, &pbs.AuthenticateResponse{
TokenType: "cookie",
Item: &pb.AuthToken{Token: "t_abc_1234567890"},
})