From 24532653e672783aab8a42dd20c341232fc02d22 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Sat, 25 Nov 2023 18:10:42 +0100 Subject: [PATCH] FIX: A typo bug in an import script (#24553) --- .../discourse/tests/acceptance/glimmer-search-test.js | 2 +- script/import_scripts/friendsmegplus.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/tests/acceptance/glimmer-search-test.js b/app/assets/javascripts/discourse/tests/acceptance/glimmer-search-test.js index 412dfec2513..f8de66fa2c9 100644 --- a/app/assets/javascripts/discourse/tests/acceptance/glimmer-search-test.js +++ b/app/assets/javascripts/discourse/tests/acceptance/glimmer-search-test.js @@ -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"); diff --git a/script/import_scripts/friendsmegplus.rb b/script/import_scripts/friendsmegplus.rb index 3bcab17c90e..26b02e9290f 100644 --- a/script/import_scripts/friendsmegplus.rb +++ b/script/import_scripts/friendsmegplus.rb @@ -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?