i have low iq
This commit is contained in:
parent
e25ae8607e
commit
9c77628962
1 changed files with 1 additions and 1 deletions
|
|
@ -438,7 +438,7 @@ export default new Elysia({ prefix: "/post" })
|
||||||
if (savedCount > 0) {
|
if (savedCount > 0) {
|
||||||
await sendDiscordNotification({
|
await sendDiscordNotification({
|
||||||
title: pixivData.title || "Pixiv Artwork",
|
title: pixivData.title || "Pixiv Artwork",
|
||||||
url: savedIds[0] ? `${config.base_url}/detail/${savedIds[0]}` : body.url,
|
url: savedIds[0] ? `${config.server.base_url}/detail/${savedIds[0]}` : body.url,
|
||||||
author: body.author ? body.author : (pixivData.author_name || "unknown"),
|
author: body.author ? body.author : (pixivData.author_name || "unknown"),
|
||||||
tags: normalizedTags,
|
tags: normalizedTags,
|
||||||
imageUrl: mediaUrls[0],
|
imageUrl: mediaUrls[0],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue