Browse Source

[InstagramBridge] fix parameter 'u' requirement status

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
Pierre Mazière 7 years ago
parent
commit
760141a751
1 changed files with 4 additions and 1 deletions
  1. 4 1
      bridges/InstagramBridge.php

+ 4 - 1
bridges/InstagramBridge.php

@@ -11,7 +11,10 @@ class InstagramBridge extends BridgeAbstract{
 		$this->description = "Returns the newest images";
 
         $this->parameters[] = array(
-          'u'=>array('name'=>'username')
+            'u'=>array(
+                'name'=>'username',
+                'required'=>true
+            )
         );
 
 	}