mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2026-07-11 21:49:42 +02:00
refactor: constants
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user