code: protected function appendAppIdAndBucketIfEmpty(array $options = [])
      {
          $options['appid'] = empty($options['appid']) ? $this->authorization->getAppId() : $options['appid'];
          $options['bucket'] = empty($options['bucket']) ? $this->authorization->getBucket() : $options['bucket'];
  
          return $options;
      }
docs: Append AppId And Bucket to option if empty
  
  @param  array  $options
  
  @return array