API: torrents upload/list

This commit is contained in:
xiaomlove
2025-04-17 01:39:40 +07:00
parent 0d3a46231d
commit 2b029eba10
72 changed files with 2332 additions and 507 deletions

View File

@@ -346,7 +346,8 @@ class ToolRepository extends BaseRepository
->from(new Address(Setting::get('main.SITEEMAIL'), Setting::get('basic.SITENAME')))
->to($to)
->subject($subject)
->html($body)
->text($body)
->html(nl2br($body))
;
// Send the message