Cleanup of cli
This commit is contained in:
@ -11,6 +11,7 @@ $app->group('/mailboxes', function($app) {
|
||||
|
||||
$app->group('/mailbox/{mailbox_id}', function($app) {
|
||||
$app->group('/messages', function($app) {
|
||||
$app->get('/grab[/]', [Messages::class, 'grab']);
|
||||
$app->get('/valid[/]', [Messages::class, 'valid']);
|
||||
$app->get('[/]', Messages::class);
|
||||
});
|
||||
|
@ -3,9 +3,10 @@ use ProVM\Common\Controller\Attachments;
|
||||
|
||||
$app->group('/attachments', function($app) {
|
||||
$app->put('/grab', [Attachments::class, 'grab']);
|
||||
$app->get('/pending', [Attachments::class, 'pending']);
|
||||
$app->post('/decrypt', [Attachments::class, 'decrypt']);
|
||||
$app->get('[/]', Attachments::class);
|
||||
});
|
||||
$app->group('/attachment/{attachment_id}', function($app) {
|
||||
$app->get('[/]', [Attachments::class, 'get']);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user