diff --git a/discord_embed/api/serve.mjs b/discord_embed/api/serve.mjs index 41b70dc..e0a115e 100644 --- a/discord_embed/api/serve.mjs +++ b/discord_embed/api/serve.mjs @@ -170,7 +170,7 @@ Redirecting old: videoLink, new: newLink, }, 'Updating link') - videoLink = newLink + videoLink = ctx.state.video = newLink await ctx.db.safeCallProc('discord_embed.link_update', [id - 3843, videoLink]) } } diff --git a/discord_embed/package.json b/discord_embed/package.json index 855980a..693140f 100644 --- a/discord_embed/package.json +++ b/discord_embed/package.json @@ -1,6 +1,6 @@ { "name": "discord_embed", - "version": "1.0.27", + "version": "1.0.28", "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 5f06ef2..a70a0b6 100644 --- a/discord_embed/public/index.html +++ b/discord_embed/public/index.html @@ -2,7 +2,7 @@
-