Remove double person data validation (#30501)

This commit is contained in:
Paulus Schoutsen 2020-01-05 15:50:59 +01:00 committed by GitHub
parent 0a9ac91dec
commit 8625e962ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,7 +198,7 @@ class PersonStorageCollection(collection.StorageCollection):
if user_id is not None: if user_id is not None:
await self._validate_user_id(user_id) await self._validate_user_id(user_id)
return self.CREATE_SCHEMA(data) return data
@callback @callback
def _get_suggested_id(self, info: dict) -> str: def _get_suggested_id(self, info: dict) -> str: