Skip to content

Commit

Permalink
Update api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Feb 6, 2024
1 parent 1e50685 commit b577718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/packages/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ app.get('/nft/:chainName/:tokenAddress', infuraController.getCollectionMetadataH
app.get('/nft/:chainName/:tokenAddress/:tokenId', infuraController.getNftMetadataHandler);
app.get('/ens/:ensName', infuraController.getWalletByENSHandler);

app.post('/site/upload_avatar', isImage.single('file'), fileController.uploadAvatar);
app.post('/profile/upload_avatar', isImage.single('file'), fileController.uploadAvatar);

app.post("/site/subscribe", validator.body(Joi.object({
email: Joi.string().email().required(),
Expand Down

0 comments on commit b577718

Please sign in to comment.