Adds update from inventaire link for books

This commit is contained in:
Mouse Reeve
2021-12-05 13:46:13 -08:00
parent 071da7d4fb
commit 02313f40b8
3 changed files with 12 additions and 4 deletions

View File

@ -425,12 +425,12 @@ urlpatterns = [
re_path(r"^resolve-book/?$", views.resolve_book, name="resolve-book"),
re_path(r"^switch-edition/?$", views.switch_edition, name="switch-edition"),
re_path(
rf"^{BOOK_PATH}/update/(?P<connector_identifier>[\w\.]+)?$",
rf"{BOOK_PATH}/update/(?P<connector_identifier>[\w\.]+)/?$",
views.update_book_from_remote,
name="book-update-remote",
),
re_path(
r"^author/(?P<author_id>\d+)/update/(?P<connector_identifier>[\w\.]+)?$",
r"^author/(?P<author_id>\d+)/update/(?P<connector_identifier>[\w\.]+)/?$",
views.update_author_from_remote,
name="author-update-remote",
),