Update BaseProvider.ts

main
落雨楓 3 years ago
parent a5df4c675b
commit d4415a0e34

@ -31,7 +31,7 @@ export class BaseProvider {
}
static checkConfig(config: any) {
if (typeof config.source !== "object") {
if (typeof config?.source !== "object") {
return false;
}

Loading…
Cancel
Save