Skip to content

Commit 833455f

Browse files
authored
Merge pull request #590 from sedatsevgili/patch-1
Update file-upload.md
2 parents 19350b4 + a0dede9 commit 833455f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/file-upload.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ We first need to edit our Book resource, and add a new property called `image`.
218218
namespace App\Entity;
219219
220220
use ApiPlatform\Core\Annotation\ApiResource;
221+
use ApiPlatform\Core\Annotation\ApiProperty;
221222
use Doctrine\ORM\Mapping as ORM;
222223
use Symfony\Component\HttpFoundation\File\File;
223224
use Vich\UploaderBundle\Mapping\Annotation as Vich;

0 commit comments

Comments
 (0)