File tree 1 file changed +2
-2
lines changed
src/@awesome-cordova-plugins/plugins/ssl-certificate-checker
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export class SSLCertificateChecker extends AwesomeCordovaNativePlugin {
42
42
* @return {Promise<void> } Returns a promise that resolves if the certificate is valid, otherwise rejects with an error.
43
43
*/
44
44
@Cordova ( )
45
- check ( serverURL : string , allowedFingerprint : string ) : Promise < void > {
45
+ check ( serverURL : string , allowedFingerprint : string | string [ ] ) : Promise < void > {
46
46
return ;
47
47
}
48
48
@@ -56,7 +56,7 @@ export class SSLCertificateChecker extends AwesomeCordovaNativePlugin {
56
56
* @deprecated This function is considered insecure.
57
57
*/
58
58
@Cordova ( )
59
- checkInCertChain ( serverURL : string , allowedFingerprint : string ) : Promise < void > {
59
+ checkInCertChain ( serverURL : string , allowedFingerprint : string | string [ ] ) : Promise < void > {
60
60
return ;
61
61
}
62
62
}
You can’t perform that action at this time.
0 commit comments