Skip to content

Commit

Permalink
rm unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
maruware committed Dec 26, 2019
1 parent 7cbcb10 commit 296f5d2
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/lib/raccoon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,6 @@ export default class Raccoon {
return undisliked(this.client, this.config, userId, itemId, options)
}

async updateSequence(userId: string, itemId: string) {
// let updateWilson = true;
// if ('updateWilson' in options) {
// updateWilson = options.updateWilson ? true : false;
// }

await updateSimilarityFor(this.client, this.config.className, userId)
return Promise.all([
updateWilsonScore(this.client, this.config.className, itemId),
updateRecommendationsFor(
this.client,
this.config.className,
this.config.nearestNeighbors,
this.config.numOfRecsStore,
userId
)
])
}

updateSimilarityFor(userId: string) {
return updateSimilarityFor(this.client, this.config.className, userId)
}
Expand Down

0 comments on commit 296f5d2

Please sign in to comment.