Skip to content

Commit 20081f3

Browse files
committed
Aligned namespaces used in Umbraco.Cms.Integrations.OAuthProxy.
1 parent 174c084 commit 20081f3

File tree

8 files changed

+11
-13
lines changed

8 files changed

+11
-13
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
namespace Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy.Configuration
1+
namespace Umbraco.Cms.Integrations.OAuthProxy.Configuration
22
{
33
public class AppSettings
44
{
55
public string HubspotClientSecret { get; set; }
66

77
public string SemrushClientSecret { get; set; }
88

9-
public string this[string propertyName] => (string) GetType().GetProperty(propertyName)?.GetValue(this, null);
9+
public string this[string propertyName] => (string)GetType().GetProperty(propertyName)?.GetValue(this, null);
1010
}
1111
}

src/Umbraco.Cms.Integrations.OAuthProxy/Controllers/OAuthProxyController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
using Microsoft.AspNetCore.Http;
88
using Microsoft.AspNetCore.Mvc;
99
using Microsoft.Extensions.Options;
10-
11-
using Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy.Configuration;
10+
using Umbraco.Cms.Integrations.OAuthProxy.Configuration;
1211

1312
namespace Umbraco.Cms.Integrations.OAuthProxy.Controllers
1413
{

src/Umbraco.Cms.Integrations.OAuthProxy/Pages/Error.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.Extensions.Logging;
44
using System.Diagnostics;
55

6-
namespace Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy.Pages
6+
namespace Umbraco.Cms.Integrations.OAuthProxy.Pages
77
{
88
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
99
[IgnoreAntiforgeryToken]

src/Umbraco.Cms.Integrations.OAuthProxy/Pages/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66

77
<div class="text-center">
8-
<h1 class="display-4">Umbraco Forms / Hubspot</h1>
8+
<h1 class="display-4">Umbraco Integrations Authentication</h1>
99
@if (!string.IsNullOrEmpty(Model.AuthorizationCode))
1010
{
1111
<div id="manual-complete" style="display: none">

src/Umbraco.Cms.Integrations.OAuthProxy/Pages/Index.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.AspNetCore.Mvc.RazorPages;
22
using Microsoft.Extensions.Logging;
33

4-
namespace Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy.Pages
4+
namespace Umbraco.Cms.Integrations.OAuthProxy.Pages
55
{
66
public class IndexModel : PageModel
77
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
@using Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy
2-
@namespace Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy.Pages
1+
@using Umbraco.Cms.Integrations.OAuthProxy.Pages
2+
@namespace Umbraco.Cms.Integrations.OAuthProxy.Pages.Pages
33
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

src/Umbraco.Cms.Integrations.OAuthProxy/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Microsoft.Extensions.Configuration;
33
using Microsoft.Extensions.Hosting;
44

5-
namespace Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy
5+
namespace Umbraco.Cms.Integrations.OAuthProxy
66
{
77
public class Program
88
{

src/Umbraco.Cms.Integrations.OAuthProxy/Startup.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
using Microsoft.Extensions.Configuration;
66
using Microsoft.Extensions.DependencyInjection;
77
using Microsoft.Extensions.Hosting;
8+
using Umbraco.Cms.Integrations.OAuthProxy.Configuration;
89

9-
using Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy.Configuration;
10-
11-
namespace Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy
10+
namespace Umbraco.Cms.Integrations.OAuthProxy
1211
{
1312
public class Startup
1413
{

0 commit comments

Comments
 (0)