Skip to content

Commit

Permalink
🎨 remove unsafe_dont_wait_for_registries option for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Mar 13, 2024
1 parent d15a859 commit 3fe61cd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/routes/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ async def get_credential_definition_by_id(
@router.post("/credentials", response_model=CredentialDefinition)
async def create_credential_definition(
credential_definition: CreateCredentialDefinition,
unsafe_dont_wait_for_registries: Optional[bool] = False,
auth: AcaPyAuthVerified = Depends(acapy_auth_verified),
) -> CredentialDefinition:
"""
Expand All @@ -204,12 +203,6 @@ async def create_credential_definition(
credential_definition: CreateCredentialDefinition
Payload for creating a credential definition.
unsafe_dont_wait_for_registries: bool (Optional)
If set to true, the endpoint will not wait for the revocation registries to be created.
This is not recommended, as it can lead to failed credential issuance if the revocation
registries are not ready.
If set to true, please wait at least one to two minutes before issuing credentials.
Returns:
--------
Credential Definition
Expand Down

0 comments on commit 3fe61cd

Please sign in to comment.