mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
chore: extra console.log
This commit is contained in:
@@ -97,7 +97,6 @@ Thumbs.migrate = async function (uuid, id) {
|
|||||||
// Converts the draft thumb zset to the topic zset (combines thumbs if applicable)
|
// Converts the draft thumb zset to the topic zset (combines thumbs if applicable)
|
||||||
const set = `draft:${uuid}:thumbs`;
|
const set = `draft:${uuid}:thumbs`;
|
||||||
const thumbs = await db.getSortedSetRangeWithScores(set, 0, -1);
|
const thumbs = await db.getSortedSetRangeWithScores(set, 0, -1);
|
||||||
console.log(thumbs);
|
|
||||||
await Promise.all(thumbs.map(async thumb => await Thumbs.associate({
|
await Promise.all(thumbs.map(async thumb => await Thumbs.associate({
|
||||||
id,
|
id,
|
||||||
path: thumb.value,
|
path: thumb.value,
|
||||||
|
|||||||
Reference in New Issue
Block a user