Commit 56882f98 authored by Assunta DeSanto's avatar Assunta DeSanto
Browse files

changing type and default of history_id for legacy update and delete endpoints

parent d1213243
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -787,7 +787,7 @@ class FastAPIHistoryContents:
    def update_typed(
        self,
        trans: ProvidesHistoryContext = DependsOnTrans,
        history_id: DecodedDatabaseIdField = HistoryIDPathParam,
        history_id: str = "",
        id: DecodedDatabaseIdField = HistoryItemIDPathParam,
        type: HistoryContentType = ContentTypePathParam,
        serialization_params: SerializationParams = Depends(query_serialization_params),
@@ -824,7 +824,7 @@ class FastAPIHistoryContents:
        self,
        response: Response,
        trans: ProvidesHistoryContext = DependsOnTrans,
        history_id: DecodedDatabaseIdField = HistoryIDPathParam,
        history_id: str = "",
        id: DecodedDatabaseIdField = HistoryItemIDPathParam,
        type: HistoryContentType = ContentTypePathParam,
        serialization_params: SerializationParams = Depends(query_serialization_params),