mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 21:54:36 +00:00
Suppress null warning
This commit is contained in:
parent
948c6955ec
commit
b9abaa2055
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
using Npgsql;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BirthdayBot.Data;
|
||||
|
||||
|
@ -7,7 +6,7 @@ namespace BirthdayBot.Data;
|
|||
internal static class Database {
|
||||
public const string ObsoleteReason = "Will be removed in favor of EF6 stuff when text commands are removed";
|
||||
|
||||
public static string DBConnectionString { get; set; }
|
||||
public static string DBConnectionString { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Sets up and opens a database connection.
|
||||
|
|
Loading…
Reference in a new issue