aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-26 18:14:47 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-26 18:14:47 -0800
commit9555367d693ccb894eb8960c98507315e581f60a (patch)
treea4eec0910c415c0d6868fea44b35c8661e50bd55 /rust/src
parentaa775c9b7559fac824224f2c9a40cc01504ab03d (diff)
downloadfatcat-9555367d693ccb894eb8960c98507315e581f60a.tar.gz
fatcat-9555367d693ccb894eb8960c98507315e581f60a.zip
most basic fileset/web access tests
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/api_entity_crud.rs4
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> {