diff --git a/src/client/puppet-service.ts b/src/client/puppet-service.ts index f4913bb6..cd4b470c 100644 --- a/src/client/puppet-service.ts +++ b/src/client/puppet-service.ts @@ -1876,7 +1876,7 @@ class PuppetService extends PUPPET.Puppet { return { qrcode: response.getQrcode(), - qrcodeImgUrl: response.getQrcodeImgUrl(), + qrcodeImgUrl: response.getQrcodeImageUrl(), roomName: response.getRoomName(), } } diff --git a/src/server/puppet-implementation.ts b/src/server/puppet-implementation.ts index 5a7e2cff..3ee6cc32 100644 --- a/src/server/puppet-implementation.ts +++ b/src/server/puppet-implementation.ts @@ -1710,7 +1710,7 @@ function puppetImplementation ( const response = new grpcPuppet.RoomParseDynamicQRCodeResponse() response.setQrcode(qrcodeInfo.qrcode) - response.setQrcodeImgUrl(qrcodeInfo.qrcodeImgUrl) + response.setQrcodeImageUrl(qrcodeInfo.qrcodeImgUrl) response.setRoomName(qrcodeInfo.roomName) return callback(null, response)