Created
July 17, 2018 15:07
-
-
Save diego3g/0b5c7498c89262610add8245c9361a7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async store ({ params, request }) { | |
const property = await Property.findOrFail(params.id) | |
const images = request.file('image', { | |
types: ['image'], | |
size: '2mb' | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment