Skip to content

Commit 28057c6

Browse files
committed
chore: fix raw type paths for resource_link after cherry-pick
1 parent ce2d371 commit 28057c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/rmcp/src/model/content.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub enum RawContent {
6363
Resource(RawEmbeddedResource),
6464
/// A link to a server resource that can be fetched on-demand
6565
#[serde(rename = "resource_link")]
66-
ResourceLink(RawResource),
66+
ResourceLink(super::resource::RawResource),
6767
Audio(AudioContent),
6868
}
6969

@@ -83,7 +83,7 @@ impl RawContent {
8383
}
8484

8585
/// Create a resource link content block
86-
pub fn resource_link(link: RawResource) -> Self {
86+
pub fn resource_link(link: super::resource::RawResource) -> Self {
8787
RawContent::ResourceLink(link)
8888
}
8989

0 commit comments

Comments
 (0)