mai2: add warning about portrait uploading not being supported. #67

This commit is contained in:
Hay1tsme 2024-09-05 11:37:52 -04:00
parent dd33144040
commit 73dda06413

View File

@ -818,7 +818,8 @@ class Mai2Base:
}
async def handle_upload_user_portrait_api_request(self, data: Dict) -> Dict:
self.logger.debug(data)
self.logger.warning("Portrait uploading not supported at this time.")
return {'returnCode': 0, 'apiName': 'UploadUserPortraitApi'}
async def handle_upload_user_photo_api_request(self, data: Dict) -> Dict:
if not self.game_config.uploads.photos or not self.game_config.uploads.photos_dir: