diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-03 12:07:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-03 12:07:35 +0300 |
commit | a9c5941625be2416fbf3b514019886e8f9658416 (patch) | |
tree | 6c6bff089f4bf8ed2c1d5fe184a40975383f7022 /app/assets/javascripts/notes | |
parent | 18876223fd5dc347c26a65838b4e93fbd2702b9f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/notes')
-rw-r--r-- | app/assets/javascripts/notes/stores/actions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes/stores/actions.js b/app/assets/javascripts/notes/stores/actions.js index 5cad091ce2c..c37fbdacae2 100644 --- a/app/assets/javascripts/notes/stores/actions.js +++ b/app/assets/javascripts/notes/stores/actions.js @@ -20,7 +20,7 @@ import TaskList from '~/task_list'; import mrWidgetEventHub from '~/vue_merge_request_widget/event_hub'; import SidebarStore from '~/sidebar/stores/sidebar_store'; import { convertToGraphQLId } from '~/graphql_shared/utils'; -import { TYPE_NOTE } from '~/graphql_shared/constants'; +import { TYPENAME_NOTE } from '~/graphql_shared/constants'; import notesEventHub from '../event_hub'; import promoteTimelineEvent from '../graphql/promote_timeline_event.mutation.graphql'; @@ -276,7 +276,7 @@ export const promoteCommentToTimelineEvent = ( mutation: promoteTimelineEvent, variables: { input: { - noteId: convertToGraphQLId(TYPE_NOTE, noteId), + noteId: convertToGraphQLId(TYPENAME_NOTE, noteId), }, }, }) |