mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-01 09:41:22 +00:00
Fix note image URL
This commit is contained in:
@@ -1521,8 +1521,6 @@ settings_api_urls = [
|
|||||||
common_api_urls = [
|
common_api_urls = [
|
||||||
# Webhooks
|
# Webhooks
|
||||||
path('webhook/<slug:endpoint>/', WebhookView.as_view(), name='api-webhook'),
|
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
|
# Background task information
|
||||||
path(
|
path(
|
||||||
'background-task/',
|
'background-task/',
|
||||||
@@ -1558,6 +1556,8 @@ common_api_urls = [
|
|||||||
path(
|
path(
|
||||||
'note/',
|
'note/',
|
||||||
include([
|
include([
|
||||||
|
# Uploaded images for notes
|
||||||
|
path('image/', NotesImageList.as_view(), name='api-notes-image-list'),
|
||||||
path(
|
path(
|
||||||
'<int:pk>/',
|
'<int:pk>/',
|
||||||
include([
|
include([
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ export enum ApiEndpoints {
|
|||||||
project_code_list = 'project-code/',
|
project_code_list = 'project-code/',
|
||||||
custom_unit_list = 'units/',
|
custom_unit_list = 'units/',
|
||||||
note_list = 'note/',
|
note_list = 'note/',
|
||||||
notes_image_list = 'notes-image/',
|
notes_image_list = 'note/image/',
|
||||||
email_list = 'admin/email/',
|
email_list = 'admin/email/',
|
||||||
email_test = 'admin/email/test/',
|
email_test = 'admin/email/test/',
|
||||||
config_list = 'admin/config/',
|
config_list = 'admin/config/',
|
||||||
|
|||||||
Reference in New Issue
Block a user