Fix ambiguous var usage

This commit is contained in:
Chomp
2025-01-14 13:27:26 +00:00
parent 7fb2cf9be6
commit 4fb0deab7d
+2 -2
View File
@@ -126,12 +126,12 @@ public class DatabaseImporter : OnLoad
* Read all json files in database folder and map into a json object
* @param filepath path to database folder
*/
protected async Task HydrateDatabase(string filepath)
protected async Task HydrateDatabase(string filePath)
{
_logger.Info(_localisationService.GetText("importing_database"));
var dataToImport = (DatabaseTables) await _importerUtil.LoadRecursiveAsync(
$"{filepath}database/",
$"{filePath}database/",
typeof(DatabaseTables),
OnReadValidate
);