diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-26 18:14:47 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-26 18:14:47 -0800 |
commit | 9555367d693ccb894eb8960c98507315e581f60a (patch) | |
tree | a4eec0910c415c0d6868fea44b35c8661e50bd55 /rust/src/api_entity_crud.rs | |
parent | aa775c9b7559fac824224f2c9a40cc01504ab03d (diff) | |
download | fatcat-9555367d693ccb894eb8960c98507315e581f60a.tar.gz fatcat-9555367d693ccb894eb8960c98507315e581f60a.zip |
most basic fileset/web access tests
Diffstat (limited to 'rust/src/api_entity_crud.rs')
-rw-r--r-- | rust/src/api_entity_crud.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/api_entity_crud.rs b/rust/src/api_entity_crud.rs index 7220f27a..19817540 100644 --- a/rust/src/api_entity_crud.rs +++ b/rust/src/api_entity_crud.rs @@ -992,7 +992,7 @@ impl EntityCrud for FilesetEntity { generic_db_get_edit!(fileset_edit); generic_db_delete_edit!(fileset_edit); generic_db_get_redirects!(fileset_ident); - generic_db_accept_edits_batch!("file", fileset_ident, fileset_edit); + generic_db_accept_edits_batch!("fileset", fileset_ident, fileset_edit); generic_db_insert_rev!(); fn from_deleted_row(ident_row: Self::IdentRow) -> Result<Self> { @@ -1200,7 +1200,7 @@ impl EntityCrud for WebcaptureEntity { generic_db_get_edit!(webcapture_edit); generic_db_delete_edit!(webcapture_edit); generic_db_get_redirects!(webcapture_ident); - generic_db_accept_edits_batch!("file", webcapture_ident, webcapture_edit); + generic_db_accept_edits_batch!("webcapture", webcapture_ident, webcapture_edit); generic_db_insert_rev!(); fn from_deleted_row(ident_row: Self::IdentRow) -> Result<Self> { |