diff --git a/ts/admin.ts b/ts/admin.ts index d172ab5..0424aff 100644 --- a/ts/admin.ts +++ b/ts/admin.ts @@ -76,7 +76,7 @@ $(() => { return shortener.replace(/${OC.currentUser}`).replace(/\{token\}/g, 'your_room_id'); } - async function saveAppSettings(shortener: string) { + async function saveShortSettings(shortener: string) { await checkPasswordConfirmation(); if (shortener && shortener.indexOf('https://') !== 0) { @@ -95,7 +95,7 @@ $(() => { const resultElement = $(this).find('.bbb-result').empty(); - saveAppSettings(this['app.shortener'].value).then(() => { + saveShortSettings(this['app.shortener'].value).then(() => { const successElement = generateSuccessElement(t('bbb', 'Settings saved')); setTimeout(() => {