Fix note image URL
This commit is contained in:
parent
f6cde30ec6
commit
a46bb395db
|
|
@ -1521,8 +1521,6 @@ settings_api_urls = [
|
|||
common_api_urls = [
|
||||
# Webhooks
|
||||
path('webhook/<slug:endpoint>/', WebhookView.as_view(), name='api-webhook'),
|
||||
# Uploaded images for notes
|
||||
path('notes-image/', NotesImageList.as_view(), name='api-notes-image-list'),
|
||||
# Background task information
|
||||
path(
|
||||
'background-task/',
|
||||
|
|
@ -1558,6 +1556,8 @@ common_api_urls = [
|
|||
path(
|
||||
'note/',
|
||||
include([
|
||||
# Uploaded images for notes
|
||||
path('image/', NotesImageList.as_view(), name='api-notes-image-list'),
|
||||
path(
|
||||
'<int:pk>/',
|
||||
include([
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ export enum ApiEndpoints {
|
|||
project_code_list = 'project-code/',
|
||||
custom_unit_list = 'units/',
|
||||
note_list = 'note/',
|
||||
notes_image_list = 'notes-image/',
|
||||
notes_image_list = 'note/image/',
|
||||
email_list = 'admin/email/',
|
||||
email_test = 'admin/email/test/',
|
||||
config_list = 'admin/config/',
|
||||
|
|
|
|||
Loading…
Reference in New Issue