Skip to content

Commit

Permalink
Merge pull request #16593 from assuntad23/bug/16191/boxplot-render-fail
Browse files Browse the repository at this point in the history
[23.0] Allow the legacy DELETE dataset endpoint to accept any string for the history_id
  • Loading branch information
dannon authored Aug 30, 2023
2 parents d121324 + 2dc9f01 commit 1fcde3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10979,7 +10979,7 @@ export interface operations {
header?: {
"run-as"?: string;
};
/** @description The ID of the History. */
/** @description History ID or any string. */
/** @description The ID of the item (`HDA`/`HDCA`) contained in the history. */
/**
* @description The type of the target history element.
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/history_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ def delete_typed(
self,
response: Response,
trans: ProvidesHistoryContext = DependsOnTrans,
history_id: DecodedDatabaseIdField = HistoryIDPathParam,
history_id: str = Path(..., description="History ID or any string."),
id: DecodedDatabaseIdField = HistoryItemIDPathParam,
type: HistoryContentType = ContentTypePathParam,
serialization_params: SerializationParams = Depends(query_serialization_params),
Expand Down

0 comments on commit 1fcde3a

Please sign in to comment.