Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Fix on delete REST url
Browse files Browse the repository at this point in the history
  • Loading branch information
xabiugarte committed Jun 5, 2019
1 parent cf9f39b commit 737cddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/rest/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
views.metadata_unapplied, name='metadata_unapplied'),
re_path(r'metadata/get/(?P<api_key>[A-F\d]{8}\-(?:[A-F\d]{4}\-){3}[A-F\d]{12})$',
views.metadata_get, name='metadata_get'),
re_path(r'metadata/delete/(?P<api_key>[A-F\d]{8}\-(?:[A-F\d]{4}\-){3}[A-F\d]{12})/(?P<_id>[A-F\d]{26})$',
re_path(r'metadata/delete/(?P<api_key>[A-F\d]{8}\-(?:[A-F\d]{4}\-){3}[A-F\d]{12})/(?P<_id>[A-Fa-f\d]{26})$',
views.metadata_delete, name='metadata_delete'),
re_path(r'metadata/created/(?P<api_key>[A-F\d]{8}\-(?:[A-F\d]{4}\-){3}[A-F\d]{12})$',
views.metadata_created, name='metadata_created'),
Expand Down

0 comments on commit 737cddd

Please sign in to comment.