File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ namespace OpenBioCardServer.Models;
22
33public class SystemSettings
44{
5+ public const string DefaultTitle = "OpenBioCard (Server)" ;
6+
57 public string Title { get ; set ; } = string . Empty ;
68 public Asset Logo { get ; set ; } = new ( ) ;
79}
Original file line number Diff line number Diff line change 55using OpenBioCardServer . Configuration ;
66using OpenBioCardServer . Data ;
77using OpenBioCardServer . Extensions ;
8+ using OpenBioCardServer . Models ;
89using OpenBioCardServer . Models . Entities ;
910using OpenBioCardServer . Models . Enums ;
1011using OpenBioCardServer . Services ;
@@ -196,7 +197,7 @@ await context.HttpContext.Response.WriteAsJsonAsync(new
196197 var defaultSettings = new SystemSettingsEntity
197198 {
198199 Id = 1 ,
199- Title = "OpenBioCard" ,
200+ Title = SystemSettings . DefaultTitle ,
200201 LogoType = null ,
201202 LogoText = null ,
202203 LogoData = null
You can’t perform that action at this time.
0 commit comments