Skip to content

Commit 91f91f2

Browse files
committed
fix(media): refresh methods use post
1 parent 5ac2b93 commit 91f91f2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

projects/api/src/contracts/movies/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Returns streaming and watch now sources for a movie in the requested country. Us
161161
description: `#### 🔥 VIP Only 🔒 OAuth Required
162162
Queue a refresh of a movie's JustWatch watch now links.`,
163163
path: '/refresh/justwatch',
164-
method: 'PUT',
164+
method: 'POST',
165165
pathParams: idParamsSchema,
166166
body: z.undefined(),
167167
responses: {
@@ -271,7 +271,7 @@ Report a movie for moderator review. Send a \`reason\` and optional \`message\`
271271
description: `#### 🔥 VIP Only 🔒 OAuth Required
272272
Queue a full metadata refresh for a movie. Pass \`images=true\` to also refresh the movie's images.`,
273273
path: '/refresh',
274-
method: 'PUT',
274+
method: 'POST',
275275
query: refreshQuerySchema,
276276
pathParams: idParamsSchema,
277277
body: z.undefined(),

projects/api/src/contracts/people/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Report a person for moderator review. Send a \`reason\` and optional \`message\`
8787
description: `#### 🔥 VIP Only 🔒 OAuth Required
8888
Queue a full metadata refresh for a person. Pass \`images=true\` to also refresh the person's images.`,
8989
path: '/refresh',
90-
method: 'PUT',
90+
method: 'POST',
9191
query: refreshQuerySchema,
9292
pathParams: idParamsSchema,
9393
body: z.undefined(),

projects/api/src/contracts/shows/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Returns streaming and watch now sources for a show in the requested country. Use
354354
description: `#### 🔥 VIP Only 🔒 OAuth Required
355355
Queue a refresh of a show's JustWatch watch now links.`,
356356
path: '/refresh/justwatch',
357-
method: 'PUT',
357+
method: 'POST',
358358
pathParams: idParamsSchema,
359359
body: z.undefined(),
360360
responses: {
@@ -564,7 +564,7 @@ Report a show for moderator review. Send a \`reason\` and optional \`message\` w
564564
description: `#### 🔥 VIP Only 🔒 OAuth Required
565565
Queue a full metadata refresh for a show. Pass \`images=true\` to also refresh the show's images.`,
566566
path: '/refresh',
567-
method: 'PUT',
567+
method: 'POST',
568568
query: refreshQuerySchema,
569569
pathParams: idParamsSchema,
570570
body: z.undefined(),

0 commit comments

Comments
 (0)