Skip to content

Commit

Permalink
Add AS4 endpoint function, ref #132
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Jun 27, 2022
1 parent 43b9161 commit 45a89ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
12 changes: 9 additions & 3 deletions nextcloud-app/peppolnext/lib/Controller/MessageApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,13 @@ private function getFileName($orderName) :string{
return $orderName."-". (new \DateTime())->format("Y-m-d").".xml";
}




/*
* @noadminrequired
* @nocsrfrequired
* @publicpage
* @cors
*/
public function as4Endpoint() {
error_log('AS4 endpoint function was called!');
}
}
10 changes: 0 additions & 10 deletions nextcloud-app/peppolnext/lib/Service/MessageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,14 +370,4 @@ private function checkIncomingInvoiceValidity(object $invoice){
}
return true;
}

/*
* @noadminrequired
* @nocsrfrequired
* @publicpage
* @cors
*/
public function as4Endpoint() {
error_log('AS4 endpoint function was called!');
}
}

0 comments on commit 45a89ef

Please sign in to comment.