mirror of https://github.com/sualko/cloud_bbb
fix: missing promise type
parent
dd830a121a
commit
fd5dcb4392
|
@ -23,7 +23,7 @@ $(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkPasswordConfirmation() {
|
function checkPasswordConfirmation() {
|
||||||
return new Promise(resolve => {
|
return new Promise<void>(resolve => {
|
||||||
if (OC.PasswordConfirmation && OC.PasswordConfirmation.requiresPasswordConfirmation()) {
|
if (OC.PasswordConfirmation && OC.PasswordConfirmation.requiresPasswordConfirmation()) {
|
||||||
OC.PasswordConfirmation.requirePasswordConfirmation(() => resolve());
|
OC.PasswordConfirmation.requirePasswordConfirmation(() => resolve());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue