mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 18:04:33 +02:00
Added tests for the Attachments API endpoint
This commit is contained in:
parent
18c80f6b64
commit
7b5ae70de3
5 changed files with 151 additions and 2 deletions
|
@ -147,6 +147,7 @@ abstract class Attachment extends AbstractNamedDBElement
|
|||
* @var string|null the original filename the file had, when the user uploaded it
|
||||
*/
|
||||
#[ORM\Column(type: Types::STRING, nullable: true)]
|
||||
#[Groups(['full', 'attachment:read'])]
|
||||
protected ?string $original_filename = null;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue