mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Testing pushing test datas
This commit is contained in:
@@ -37,7 +37,10 @@ class SmsController extends Controller {
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function push($json_datas) {
|
||||
public function push($smsCount, $smsDatas) {
|
||||
if ($smsCount != count($smsDatas)) {
|
||||
return "ERROR";
|
||||
}
|
||||
return array("test" => "test2");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user