Skip to content

Commit ed9cff3

Browse files
committed
Use correct notification resource ID
1 parent c366748 commit ed9cff3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

up-subscription/src/notification_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ pub(crate) async fn notification_engine(
213213
);
214214

215215
match UMessageBuilder::notification(
216-
configuration.get_source_uri(),
216+
configuration.get_resource_uri(0x8000),
217217
subscribers_entry.clone(),
218218
)
219219
.build_with_protobuf_payload(&update)

up-subscription/src/tests/notification_manager_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ mod tests {
279279
// this is the expected direct notification message
280280
let config = Arc::new(CommandSender::get_config());
281281
let expected_notitication_message = UMessageBuilder::notification(
282-
config.get_source_uri(),
282+
config.get_resource_uri(0x8000),
283283
interested_subscriber_uri.clone(),
284284
)
285285
.with_message_id(UUID::build())

0 commit comments

Comments
 (0)