mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 07:50:45 -05:00
Adopt orphaned items sent with the mail service
This commit is contained in:
parent
828dcf83ab
commit
39b95ac2fa
@ -174,7 +174,10 @@ export class MailSendService {
|
||||
|
||||
// Add items to message
|
||||
if (items.length > 0) {
|
||||
details.items = items;
|
||||
const rootItemParentID = this.hashUtil.generate();
|
||||
|
||||
details.items = this.itemHelper.adoptOrphanedItems(rootItemParentID, items);
|
||||
|
||||
details.itemsMaxStorageLifetimeSeconds = maxStorageTimeSeconds ?? 172800; // 48 hours if no value supplied
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user