Fix note image URL

This commit is contained in:
Oliver Walters 2026-06-04 08:51:55 +00:00
parent f6cde30ec6
commit a46bb395db
2 changed files with 3 additions and 3 deletions

View File

@ -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([

View File

@ -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/',