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

Commit

Permalink
Fix on metadata delete URL path
Browse files Browse the repository at this point in the history
  • Loading branch information
xpedrero committed Dec 10, 2019
1 parent 9d783ac commit 9a292df
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 @@ -21,7 +21,7 @@
views.metadata_unapplied, name='metadata_unapplied'),
re_path(r'metadata/get/(?P<api_key>' + api_key_pattern + ')$',
views.metadata_get, name='metadata_get'),
re_path(r'metadata/delete/(?P<api_key>' + api_key_pattern + ')$',
re_path(r'metadata/delete/(?P<api_key>' + api_key_pattern + ')/(?P<_id>[A-Fa-f\d]{26})$',
views.metadata_delete, name='metadata_delete'),
re_path(r'metadata/created/(?P<api_key>' + api_key_pattern + ')$',
views.metadata_created, name='metadata_created'),
Expand Down

0 comments on commit 9a292df

Please sign in to comment.