Skip to content

Commit 7cf5383

Browse files
committed
This was backwards and debugging
1 parent 9e8202e commit 7cf5383

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

controllers/v1/stream/stream.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func _handleSRSPublish(c echo.Context) (string, string, string, string, error) {
177177
pwd = val.Get("pwd")
178178
action = publish.Action
179179

180-
return application, pwd, name, action, nil
180+
return application, name, pwd, action, nil
181181
}
182182

183183
func _handleNginxPublish(c echo.Context) (string, string, string, string) {
@@ -189,7 +189,9 @@ func _handleNginxPublish(c echo.Context) (string, string, string, string) {
189189
pwd = c.FormValue("pwd")
190190
action = c.FormValue("call")
191191

192-
return application, pwd, name, action
192+
fmt.Println(application, name, pwd, action, params)
193+
194+
return application, name, pwd, action
193195
}
194196

195197
// ListStreams handles a listing stream endpoints

0 commit comments

Comments
 (0)