Skip to content

Commit

Permalink
spi-search:fix delete ownership.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljl committed Oct 27, 2023
1 parent d536310 commit 0db0ce6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spi/spi-search/src/api/ci/search_ci_item_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ impl SearchCiItemApi {
TardisResp::ok(Void {})
}

/// 删除单项资源
/// 注意:此操作将物理删除所有事实记录,且无法恢复,请谨慎使用!
/// Delete Item
/// Note:This operation will physically delete all fact records and cannot be recovered, please use caution!
#[oai(path = "/:tag/ownership", method = "delete")]
async fn delete_by_ownership(&self, tag: Path<String>, own_paths: Query<String>, ctx: TardisContextExtractor) -> TardisApiResult<Void> {
let funs = crate::get_tardis_inst();
Expand Down

0 comments on commit 0db0ce6

Please sign in to comment.