Skip to content
Snippets Groups Projects
Commit 2991095d authored by ko_oler's avatar ko_oler
Browse files

fix

parent e89a89ca
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,12 @@ func (srv *Server) Update(ctx context.Context, request *UpdateRequest) (*UpdateR
func (srv *Server) Action(ctx context.Context, in *pb.ActionRequest) (*pb.ActionResponse, error) {
svc, ok := srv.services[in.Extension]
parsed, err := ParseActionURL(in.Action)
if err != nil {
return nil, err
}
svc, ok := srv.services[parsed.GetExtensionID()]
if !ok {
return nil, ErrUnknownExtension
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment