0.2.82
This commit is contained in:
@@ -586,7 +586,7 @@ func (s *Server) handleRecommendationAction(
|
||||
writeError(w, http.StatusBadRequest, err.Error())
|
||||
return
|
||||
}
|
||||
_ = s.cache.InvalidateUser(r.Context(), sess.EmbyUserID)
|
||||
_ = s.cache.InvalidateUser(r.Context(), viewerKeyOf(r.Context(), sess))
|
||||
if s.forYou != nil {
|
||||
s.forYou.MarkDirty(context.WithoutCancel(r.Context()), sess)
|
||||
s.forYou.RefreshAsync(sess, false)
|
||||
@@ -640,7 +640,7 @@ func (s *Server) handleRecommendationPreferences(
|
||||
writeError(w, http.StatusInternalServerError, "could not save onboarding preferences")
|
||||
return
|
||||
}
|
||||
_ = s.cache.InvalidateUser(r.Context(), sess.EmbyUserID)
|
||||
_ = s.cache.InvalidateUser(r.Context(), viewerKeyOf(r.Context(), sess))
|
||||
if s.forYou != nil {
|
||||
s.forYou.MarkDirty(context.WithoutCancel(r.Context()), sess)
|
||||
s.forYou.RefreshAsync(sess, false)
|
||||
|
||||
Reference in New Issue
Block a user