Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Guldborg committed Nov 19, 2024
1 parent 874dada commit 9134cb4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
7 changes: 0 additions & 7 deletions coffeecard/CoffeeCard.Library/Services/v2/EmailService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
using System.IO;
using System.Threading.Tasks;
using CoffeeCard.Common.Configuration;
using CoffeeCard.Models.DataTransferObjects.Purchase;
using CoffeeCard.Models.DataTransferObjects.User;
using CoffeeCard.Models.Entities;
using Microsoft.AspNetCore.Hosting;
using MimeKit;
using RestSharp;
using RestSharp.Authenticators;
using Serilog;
using TimeZoneConverter;

namespace CoffeeCard.Library.Services.v2
{
Expand Down Expand Up @@ -42,8 +37,6 @@ public async Task SendMagicLink(User user, string magicLink, LoginType loginType

var deeplink = loginType.GetDeepLink(baseUrl, magicLink);

Console.WriteLine($"MAGIC LINK HREF: {deeplink}");

builder = BuildMagicLinkEmail(builder, user.Email, user.Name, deeplink);

message.To.Add(new MailboxAddress(user.Name, user.Email));
Expand Down
2 changes: 0 additions & 2 deletions coffeecard/CoffeeCard.Library/Services/v2/IEmailService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Threading.Tasks;
using CoffeeCard.Models.DataTransferObjects.Purchase;
using CoffeeCard.Models.DataTransferObjects.User;
using CoffeeCard.Models.Entities;

namespace CoffeeCard.Library.Services.v2
Expand Down
2 changes: 0 additions & 2 deletions coffeecard/CoffeeCard.Library/Services/v2/TokenService.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using CoffeeCard.Common.Configuration;
using CoffeeCard.Common.Errors;
using CoffeeCard.Library.Persistence;
using CoffeeCard.Library.Utils;
using CoffeeCard.Models.Entities;
using Microsoft.EntityFrameworkCore;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using CoffeeCard.Common.Configuration;
using CoffeeCard.Common.Errors;
using CoffeeCard.Library.Persistence;
using CoffeeCard.Library.Services;
using CoffeeCard.Library.Services.v2;
using CoffeeCard.Models.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
using Moq;
using Xunit;
using TokenService = CoffeeCard.Library.Services.v2.TokenService;
Expand Down

0 comments on commit 9134cb4

Please sign in to comment.