Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 95b2215

Browse files
committed
DEV: update serializer attr name
1 parent b9f8472 commit 95b2215

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/javascripts/discourse/components/modal/diff-modal.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default class ModalDiffModal extends Component {
8989
CHANNEL,
9090
this.updateResult,
9191
this.currentUser
92-
?.discourse_ai_composer_helper_stream_suggestion_last_message_bus_id
92+
?.discourse_ai_helper_stream_composer_suggestion_last_message_bus_id
9393
);
9494
}
9595

lib/ai_helper/entry_point.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def inject_into(plugin)
8282

8383
plugin.add_to_serializer(
8484
:current_user,
85-
:discourse_ai_composer_helper_stream_suggestion_last_message_bus_id,
85+
:discourse_ai_helper_stream_composer_suggestion_last_message_bus_id,
8686
include_condition: -> { SiteSetting.ai_helper_enabled && scope.authenticated? },
8787
) { MessageBus.last_id("/discourse-ai/ai-helper/stream_composer_suggestion") }
8888
end

0 commit comments

Comments
 (0)