style: add prettier and format codebase
This commit is contained in:
parent
bf459740fe
commit
2f58ac7bf8
18 changed files with 151 additions and 70 deletions
|
|
@ -28,10 +28,7 @@ export function registerGetPopular(
|
|||
},
|
||||
async (params) => {
|
||||
try {
|
||||
const data = await client.getPopular(
|
||||
params.limit ?? 10,
|
||||
params.page,
|
||||
);
|
||||
const data = await client.getPopular(params.limit ?? 10, params.page);
|
||||
return {
|
||||
content: [{ type: "text", text: formatPopularResults(data) }],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,10 +28,7 @@ export function registerGetRecent(
|
|||
},
|
||||
async (params) => {
|
||||
try {
|
||||
const data = await client.getRecent(
|
||||
params.limit ?? 10,
|
||||
params.page,
|
||||
);
|
||||
const data = await client.getRecent(params.limit ?? 10, params.page);
|
||||
return {
|
||||
content: [{ type: "text", text: formatRecentResults(data) }],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,9 +27,7 @@ export function registerGetWatchProviders(
|
|||
"Must be uppercase 2-letter ISO 3166-1 country code",
|
||||
)
|
||||
.default("US")
|
||||
.describe(
|
||||
"ISO 3166-1 country code (e.g. US, ES, GB, DE). Default: US",
|
||||
),
|
||||
.describe("ISO 3166-1 country code (e.g. US, ES, GB, DE). Default: US"),
|
||||
},
|
||||
async (params) => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue