Skip to content

Commit a991236

Browse files
Copilotkentcdodds
andcommitted
Fix mimeType inconsistency in tag resource listings
Co-authored-by: kentcdodds <[email protected]>
1 parent 1bc1568 commit a991236

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exercises/03.resources/03.solution.list/src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ test('Resource List - Tags', async () => {
201201
expect.objectContaining({
202202
name: expect.any(String),
203203
uri: expect.stringMatching(/epicme:\/\/tags\/\d+/),
204-
mimeType: 'application/json',
204+
mimeType: 'text/plain',
205205
}),
206206
)
207207
})

exercises/03.resources/03.solution.list/src/resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export async function initializeResources(agent: EpicMeMCP) {
3333
resources: tags.map((tag) => ({
3434
name: tag.name,
3535
uri: `epicme://tags/${tag.id}`,
36-
mimeType: 'application/json',
36+
mimeType: 'text/plain',
3737
})),
3838
}
3939
},

0 commit comments

Comments
 (0)