Skip to content

Commit

Permalink
fix: response type on delete-tails-files endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Clément Humbert <[email protected]>
  • Loading branch information
chumbert committed Feb 20, 2023
1 parent a033cd0 commit 9fdc86f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions aries_cloudagent/revocation/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,14 @@ async def on_revocation_registry_endorsed_event(profile: Profile, event: Event):
)


class TailsDeleteResponseSchema(OpenAPISchema):
"""Return schema for tails failes deletion."""

message = fields.Str()


@querystring_schema(RevRegId())
@response_schema(TailsDeleteResponseSchema())
@docs(tags=["revocation"], summary="Delete the tail files")
async def delete_tails(request: web.BaseRequest) -> json:
"""Delete Tails Files."""
Expand Down

0 comments on commit 9fdc86f

Please sign in to comment.