FIX: A typo bug in an import script (#24553)
This commit is contained in:
parent
68960b26be
commit
24532653e6
|
@ -164,7 +164,7 @@ acceptance("Search - Glimmer - Anonymous", function (needs) {
|
|||
assert.strictEqual(
|
||||
query(".search-link .search-item-tag").textContent.trim(),
|
||||
"important",
|
||||
"frst option includes tag"
|
||||
"first option includes tag"
|
||||
);
|
||||
|
||||
await fillIn("#search-term", "smth");
|
||||
|
|
|
@ -426,7 +426,7 @@ class ImportScripts::FMGP < ImportScripts::Base
|
|||
|
||||
created_at = Time.zone.parse(post["createdAt"])
|
||||
return nil if !@last_date.nil? && created_at > @last_date
|
||||
return nil if !@frst_date.nil? && created_at < @first_date
|
||||
return nil if !@first_date.nil? && created_at < @first_date
|
||||
|
||||
user_id = user_id_from_imported_user_id(post_author_id)
|
||||
user_id = @users[post["author"]["id"]].id if user_id.nil?
|
||||
|
|
Loading…
Reference in New Issue