Skip to content

Commit

Permalink
fix GET_VHOSTS_STOP_BY_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jan 25, 2023
1 parent c5035f7 commit 1581c96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ovenmedia/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func (o *OvenMedia) StartPush(vHost string, appName string, body interface{}) (*resty.Response, error) {
//
//
resp, err := o.RestyPost(GET_VHOSTS_PUSH_BY_NAME(vHost, appName), nil)
resp, err := o.RestyPost(GET_VHOSTS_PUSH_BY_NAME(vHost, appName), body)
if err != nil {
return nil, err
}
Expand All @@ -19,9 +19,9 @@ func (o *OvenMedia) StartPush(vHost string, appName string, body interface{}) (*
}


func (o *OvenMedia) StopPush(vHost string, appName string,body interface{}) (*resty.Response, error)
func (o *OvenMedia) StopPush(vHost string, appName string, body interface{}) (*resty.Response, error)
//
resp, err := o.RestyPost(V1_HOSTS_STOP_PUSH_NAME(vHost, appName), body)
resp, err := o.RestyPost(GET_VHOSTS_STOP_BY_NAME(vHost, appName), body)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 1581c96

Please sign in to comment.