File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/@awesome-cordova-plugins/plugins/ssl-certificate-checker Expand file tree Collapse file tree 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 {
4242 * @return {Promise<void> } Returns a promise that resolves if the certificate is valid, otherwise rejects with an error.
4343 */
4444 @Cordova ( )
45- check ( serverURL : string , allowedFingerprint : string ) : Promise < void > {
45+ check ( serverURL : string , allowedFingerprint : string | string [ ] ) : Promise < void > {
4646 return ;
4747 }
4848
@@ -56,7 +56,7 @@ export class SSLCertificateChecker extends AwesomeCordovaNativePlugin {
5656 * @deprecated This function is considered insecure.
5757 */
5858 @Cordova ( )
59- checkInCertChain ( serverURL : string , allowedFingerprint : string ) : Promise < void > {
59+ checkInCertChain ( serverURL : string , allowedFingerprint : string | string [ ] ) : Promise < void > {
6060 return ;
6161 }
6262}
You can’t perform that action at this time.
0 commit comments