confirmOverlapId() { this.kuzzle .collection('collection_name', 'index_name') .fetchDocument(this.userid, async function (error, result) { if (error && this.userid.length !== 0) { const alertId = await this.alertCtrl.create({ header: '아이디 중복확인', message: '사용 가능합니다.', buttons: [ { text: '확인', handler: data => { this.posUserId = true; } }] }); return await alertId.present(); } else if (result) { c..