From 5dbec158761499d4eb0d768f068d5730c5729f04 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 11 Jun 2024 17:34:47 +0200 Subject: [PATCH] [backend] Switch to the renamed Iceshrimp.WebPush library --- Iceshrimp.Backend/Core/Extensions/WebApplicationExtensions.cs | 2 +- Iceshrimp.Backend/Core/Services/PushService.cs | 4 ++-- Iceshrimp.Backend/Iceshrimp.Backend.csproj | 2 +- NuGet.Config | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Iceshrimp.Backend/Core/Extensions/WebApplicationExtensions.cs b/Iceshrimp.Backend/Core/Extensions/WebApplicationExtensions.cs index c58851b3..252751f3 100644 --- a/Iceshrimp.Backend/Core/Extensions/WebApplicationExtensions.cs +++ b/Iceshrimp.Backend/Core/Extensions/WebApplicationExtensions.cs @@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.Extensions.Configuration.Ini; using Microsoft.Extensions.Options; -using WebPush; +using Iceshrimp.WebPush; namespace Iceshrimp.Backend.Core.Extensions; diff --git a/Iceshrimp.Backend/Core/Services/PushService.cs b/Iceshrimp.Backend/Core/Services/PushService.cs index c304150a..3ef2d718 100644 --- a/Iceshrimp.Backend/Core/Services/PushService.cs +++ b/Iceshrimp.Backend/Core/Services/PushService.cs @@ -10,9 +10,9 @@ using Iceshrimp.Backend.Core.Extensions; using Iceshrimp.Backend.Core.Middleware; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -using WebPush; +using Iceshrimp.WebPush; using PushSubscription = Iceshrimp.Backend.Core.Database.Tables.PushSubscription; -using WebPushSubscription = WebPush.PushSubscription; +using WebPushSubscription = Iceshrimp.WebPush.PushSubscription; namespace Iceshrimp.Backend.Core.Services; diff --git a/Iceshrimp.Backend/Iceshrimp.Backend.csproj b/Iceshrimp.Backend/Iceshrimp.Backend.csproj index 26e66e31..5d6ea2c1 100644 --- a/Iceshrimp.Backend/Iceshrimp.Backend.csproj +++ b/Iceshrimp.Backend/Iceshrimp.Backend.csproj @@ -59,7 +59,7 @@ - + diff --git a/NuGet.Config b/NuGet.Config index 2bd8b165..8ea469aa 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -12,7 +12,6 @@ -