Refactor getConfig calls

This commit is contained in:
2024-09-02 12:16:06 +02:00
parent e01a4dbd9a
commit b84efd1c61
6 changed files with 9 additions and 11 deletions

View File

@@ -44,7 +44,7 @@ export const getFiefAuth = async (url: URL) => {
if (FIEF_AUTHS[url.hostname]) {
return FIEF_AUTHS[url.hostname];
} else {
const config = url && (await getConfig(url.hostname));
const config = url && (await getConfig());
if (config) {
FIEF_AUTHS[url.hostname] = new FiefAuth({
client: fiefClient,