diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-12-02 10:47:52 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-12-17 23:03:08 -0800 |
commit | 5a139a680a40a9628cd4c0116226f7c9ae470572 (patch) | |
tree | 54942a66f2d962ac2a7b270c781e3878194dd8cf /rust/src/endpoint_handlers.rs | |
parent | 53b17b96c61ecfe14a30da523e993a9902d7f375 (diff) | |
download | fatcat-5a139a680a40a9628cd4c0116226f7c9ae470572.tar.gz fatcat-5a139a680a40a9628cd4c0116226f7c9ae470572.zip |
rust: rename and improve dblp key (id) syntax check
Diffstat (limited to 'rust/src/endpoint_handlers.rs')
-rw-r--r-- | rust/src/endpoint_handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/endpoint_handlers.rs b/rust/src/endpoint_handlers.rs index 91ea2393..141c414e 100644 --- a/rust/src/endpoint_handlers.rs +++ b/rust/src/endpoint_handlers.rs @@ -536,7 +536,7 @@ impl Server { Some(dblp), None, ) => { - check_dblp_id(dblp)?; + check_dblp_key(dblp)?; let (rev, ident, _extid): (ReleaseRevRow, ReleaseIdentRow, ReleaseExtidRow) = release_rev::table .inner_join(release_ident::table) |