[#3213] Partially addressed code review points.
[akkoma] / lib / pleroma / migrators / hashtags_table_migrator.ex
index 07b42a7f4d946ede09fc0813c884c34846009ece..9a036e0b298506d8d0652184a1cad2c1888c6a0a 100644 (file)
@@ -239,11 +239,11 @@ defmodule Pleroma.Migrators.HashtagsTableMigrator do
       data_migration.feature_lock ->
         :noop
 
-      not is_nil(Config.improved_hashtag_timeline()) ->
+      not is_nil(Config.get([:database, :improved_hashtag_timeline])) ->
         :noop
 
       true ->
-        Config.put(Config.improved_hashtag_timeline_path(), true)
+        Config.put([:database, :improved_hashtag_timeline], true)
         :ok
     end
   end