wip
This commit is contained in:
parent
7d4d9dbaa6
commit
3d5cdb8d2d
237 changed files with 1661 additions and 1354 deletions
|
|
@ -50,7 +50,7 @@ function extractDomainsOne(id) {
|
|||
|
||||
// Fetch recent posts
|
||||
const recentPosts = await Post.find({
|
||||
user_id: id,
|
||||
userId: id,
|
||||
text: {
|
||||
$exists: true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ function extractKeywordsOne(id) {
|
|||
|
||||
// Fetch recent posts
|
||||
const recentPosts = await Post.find({
|
||||
user_id: id,
|
||||
userId: id,
|
||||
text: {
|
||||
$exists: true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export async function predictOne(id) {
|
|||
|
||||
// TODO: repostなども含める
|
||||
const recentPosts = await Post.find({
|
||||
user_id: id,
|
||||
userId: id,
|
||||
category: {
|
||||
$exists: true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue