(ctx context.Context, serviceId string, id string, commits string)
| 500 | } |
| 501 | |
| 502 | func (i *imlPublishModule) Refuse(ctx context.Context, serviceId string, id string, commits string) error { |
| 503 | _, err := i.serviceService.Check(ctx, serviceId, asServer) |
| 504 | if err != nil { |
| 505 | return err |
| 506 | } |
| 507 | return i.publishService.Refuse(ctx, serviceId, id, commits) |
| 508 | } |
| 509 | |
| 510 | func (i *imlPublishModule) Accept(ctx context.Context, serviceId string, id string, commits string) error { |
| 511 | _, err := i.serviceService.Check(ctx, serviceId, asServer) |