mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Fix order for import
This commit is contained in:
parent
8445d3ae12
commit
20289a4d01
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ struct Invidious::User
|
||||||
|
|
||||||
if data["watch_history"]?
|
if data["watch_history"]?
|
||||||
user.watched += data["watch_history"].as_a.map(&.as_s)
|
user.watched += data["watch_history"].as_a.map(&.as_s)
|
||||||
user.watched.uniq!
|
user.watched.reverse!.uniq!.reverse!
|
||||||
Invidious::Database::Users.update_watch_history(user)
|
Invidious::Database::Users.update_watch_history(user)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue