Renamed parameter validation method and removed "side effect"

This commit is contained in:
Deluan 2016-03-03 17:41:11 -05:00
parent c990073fc7
commit adfec414a1
4 changed files with 4 additions and 5 deletions

View file

@ -22,7 +22,7 @@ func (c *StreamController) Prepare() {
// For realtime transcoding, see : http://stackoverflow.com/questions/19292113/not-buffered-http-responsewritter-in-golang
func (c *StreamController) Get() {
id := c.ValidateParameters("id", "id parameter required")
id := c.GetParameter("id", "id parameter required")
mf, err := c.repo.Get(id)
if err != nil {