Merge branch 'main' of https://git.abtmtr.link/MeowcaTheoRange/abtmtr-v13
This commit is contained in:
commit
61911a28fc
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -605,7 +605,7 @@ app.get('/blurbs/check', async (req, res) => {
|
||||||
const relationLink = dom.window.document.querySelector(
|
const relationLink = dom.window.document.querySelector(
|
||||||
`[rel=me][href="https://abtmtr.link/blurbs/#${blurbFromId.id}"]`
|
`[rel=me][href="https://abtmtr.link/blurbs/#${blurbFromId.id}"]`
|
||||||
);
|
);
|
||||||
if (relationLink != null) {
|
if (relationLink != null && blurbFromId.verified != 1) {
|
||||||
await db
|
await db
|
||||||
.updateTable('blurbs')
|
.updateTable('blurbs')
|
||||||
.set({
|
.set({
|
||||||
|
@ -635,7 +635,7 @@ app.get('/blurbs/check', async (req, res) => {
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else if (relationLink == null) {
|
||||||
await db
|
await db
|
||||||
.updateTable('blurbs')
|
.updateTable('blurbs')
|
||||||
.set({
|
.set({
|
||||||
|
|
Loading…
Reference in a new issue