When limiting the number of messages in a packet, only retrieve that number from the DB
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 36s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m44s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s

This commit is contained in:
2024-06-07 10:51:28 +10:00
parent 95b6058020
commit e692de7d7f
3 changed files with 12 additions and 10 deletions

View File

@@ -45,7 +45,7 @@ class MailList extends Command
'from' => 'FROM',
'to' => 'TO',
'subject' => 'SUBJECT',
],$ao->netmailWaiting()->map(function($item) {
],$ao->netmailWaiting()->get()->map(function($item) {
return [
'id'=>$item->id,
'msgid'=>$item->msgid,
@@ -63,7 +63,7 @@ class MailList extends Command
'to' => 'TO',
'subject' => 'SUBJECT',
'area' => 'AREA',
],$ao->echomailWaiting()->map(function($item) {
],$ao->echomailWaiting()->get()->map(function($item) {
return [
'id'=>$item->id,
'msgid'=>$item->msgid,