|
|
@ -77,7 +77,7 @@ app.get('/image-limits', async (req, res) => { |
|
|
|
* - "image" file Blob |
|
|
|
* - "claimType" (optional, eg. "GiveAction", "PlanAction", "profile") |
|
|
|
* - "handleId" (optional) |
|
|
|
* - "fileName" (optional, if you want to replace an previous image) |
|
|
|
* - "fileName" (optional, if you want to replace a previous image) |
|
|
|
*/ |
|
|
|
app.post('/image', uploadMulter.single('image'), async (req, res) => { |
|
|
|
const reqFile = req.file; |
|
|
|