diff options
| author | ivar <i@oiee.no> | 2023-11-11 22:09:47 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2023-11-11 22:09:47 +0100 |
| commit | 97e93e4669958ff7ac18886e0394cd63260d3c70 (patch) | |
| tree | a444b1ed9fd1d00411b2417d54f750b50bdc2167 /code/api/src/Models/Misc/AppConfiguration.cs | |
| parent | 0fa8060856fde1ac887d1fefe3940ac494d236cb (diff) | |
| download | greatoffice-97e93e4669958ff7ac18886e0394cd63260d3c70.tar.xz greatoffice-97e93e4669958ff7ac18886e0394cd63260d3c70.zip | |
Fix usings
Diffstat (limited to 'code/api/src/Models/Misc/AppConfiguration.cs')
| -rw-r--r-- | code/api/src/Models/Misc/AppConfiguration.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/code/api/src/Models/Misc/AppConfiguration.cs b/code/api/src/Models/Misc/AppConfiguration.cs index 31e5726..9ed6fe4 100644 --- a/code/api/src/Models/Misc/AppConfiguration.cs +++ b/code/api/src/Models/Misc/AppConfiguration.cs @@ -1,6 +1,6 @@ using System.Security.Cryptography.X509Certificates; -namespace IOL.GreatOffice.Api.Data.Models; +namespace IOL.GreatOffice.Api.Models.Models; public class AppConfiguration { @@ -96,8 +96,10 @@ public class AppConfiguration public X509Certificate2 CERT1() => new(Convert.FromBase64String(APP_CERT)); - public object GetPublicVersion() { - return new { + public object GetPublicObject() + { + return new + { DB_HOST, DB_PORT, DB_USER, |
