gitflow-hotfix-stash: new_follow2
This commit is contained in:
@@ -88,7 +88,7 @@ var siteScript = async function() {
|
|||||||
var follows = await dbGetData('follows');
|
var follows = await dbGetData('follows');
|
||||||
var watched = [];
|
var watched = [];
|
||||||
for (var i in follows) {
|
for (var i in follows) {
|
||||||
watched.push(await dbGetData('sailors', follows[i]));
|
watched.push(await dbGetData('sailors', follows[i].sailor));
|
||||||
}
|
}
|
||||||
if (watched.length > 0) {
|
if (watched.length > 0) {
|
||||||
var year = (new Date()).getFullYear();
|
var year = (new Date()).getFullYear();
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ var siteScript = async function() {
|
|||||||
var follows = await dbGetData('follows');
|
var follows = await dbGetData('follows');
|
||||||
followedSailors = [];
|
followedSailors = [];
|
||||||
for (var i in follows) {
|
for (var i in follows) {
|
||||||
followedSailors.push(await dbGetData('sailors', follows[i]));
|
followedSailors.push(await dbGetData('sailors', follows[i].sailor));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user