*Have the DnsProvider be passed the domain so we don't need to read it from the config

This commit is contained in:
Derrick Hammer 2022-09-09 06:22:04 -04:00
parent cd8e8c6489
commit 54ef04d959
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export interface StreamFileResponse {
done: boolean;
}
export type DnsProvider = (ipAddress: string) => Promise<void>;
export type DnsProvider = (ipAddress: string, domain: string) => Promise<void>;
export type PluginFunction = (api: PluginAPI) => Promise<void>;