refactor: constants

This commit is contained in:
estrogen elf
2025-06-19 07:35:19 -05:00
parent d526354fea
commit be81fc7d57
9 changed files with 35 additions and 20 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
using Flurl.Http;
using Flurl.Http.Configuration;
using Microsoft.OpenApi.Readers;
using Needlework.Net.Constants;
using Needlework.Net.Extensions;
using Needlework.Net.Models;
using System;
@@ -18,7 +19,7 @@ namespace Needlework.Net
public DocumentService(IFlurlClientCache clients)
{
_githubUserContentClient = clients.Get("GithubUserContentClient");
_githubUserContentClient = clients.Get(FlurlClientKeys.GithubUserContentClient);
}
public async Task<Document> GetLcuSchemaDocumentAsync(CancellationToken cancellationToken = default)