style: format via prettier and csharpier

This commit is contained in:
2026-03-06 20:13:56 -05:00
parent 5420d94595
commit 2c794b833a
2 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ export const apiUrl = env.VITE_API_URL ?? 'http://localhost:5050';
export const viewInternalApiKey =
env.NODE_ENV === 'development'
? 'cccdd42d9f2f648493e402f1da7c855ea798ad510e6bb9ea712dd7bed838e58'
: env.VIEW_INTERNAL_API_KEY ?? env.View_HMAC_Internal_API_Key ?? '';
: (env.VIEW_INTERNAL_API_KEY ?? env.View_HMAC_Internal_API_Key ?? '');
+2 -6
View File
@@ -1,9 +1,9 @@
using System.Threading.Channels;
using MailKit.Net.Smtp;
using MailKit.Security;
using Microsoft.Extensions.Options;
using MimeKit;
using SharpbinV3.Server.Settings;
using System.Threading.Channels;
namespace SharpbinV3.Server.Services
{
@@ -11,11 +11,7 @@ namespace SharpbinV3.Server.Services
{
private readonly EmailSettings settings = emailSettings.Value;
private readonly Channel<QueuedEmail> queue = Channel.CreateUnbounded<QueuedEmail>(
new UnboundedChannelOptions
{
SingleReader = true,
SingleWriter = false,
}
new UnboundedChannelOptions { SingleReader = true, SingleWriter = false }
);
public async Task SendAsync(string to, string subject, string body)