diff --git a/discord_embed/api/post.mjs b/discord_embed/api/post.mjs index c4c171f..01776d6 100644 --- a/discord_embed/api/post.mjs +++ b/discord_embed/api/post.mjs @@ -60,10 +60,6 @@ Redirecting if (!ctx.req.body.video.startsWith('http')) { return 'Video link has to be a valid full url' } - - if (!ctx.req.body.image && !hasMedia) { - return 'Missing image link or file' - } if (ctx.req.body.image) { if (!ctx.req.body.image.startsWith('http')) { diff --git a/discord_embed/package.json b/discord_embed/package.json index bf42649..7e5943e 100644 --- a/discord_embed/package.json +++ b/discord_embed/package.json @@ -1,6 +1,6 @@ { "name": "discord_embed", - "version": "1.0.16", + "version": "1.0.17", "port": 4120, "description": "AV1 discord server embed helper", "main": "index.js", diff --git a/discord_embed/public/index.html b/discord_embed/public/index.html index 8a8b589..8f09bba 100644 --- a/discord_embed/public/index.html +++ b/discord_embed/public/index.html @@ -2,7 +2,7 @@ - Discord Embedder from AV1 server 1.0.16 + Discord Embedder from AV1 server 1.0.17 {{ if (imageLink) { }}