diff --git a/eFormAPI/eFormAPI.Web/Hosting/Helpers/PluginHelper.cs b/eFormAPI/eFormAPI.Web/Hosting/Helpers/PluginHelper.cs index 2ecbf50566..9738913df1 100644 --- a/eFormAPI/eFormAPI.Web/Hosting/Helpers/PluginHelper.cs +++ b/eFormAPI/eFormAPI.Web/Hosting/Helpers/PluginHelper.cs @@ -55,7 +55,7 @@ public static List GetPlugins(IConfiguration configuration) // } var dbNameSection = Regex.Match(connectionString, @"(Database=\w*;)").Groups[0].Value; - var dbPrefix = Regex.Match(connectionString, @"Database=(.*)_").Groups[1].Value; + var dbPrefix = Regex.Match(connectionString, @"Database=(\d*)_").Groups[1].Value; foreach (var plugin in GetAllPlugins()) {