Skip to content

Commit af99902

Browse files
authored
Merge pull request #298 from sixwaaaay/fixclient
fix: add a parameter due to upstream server breaking changes
2 parents 2a1f11b + ea52b8b commit af99902

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sharp/content/repository/Client.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,11 @@ public async Task<IReadOnlyList<long>> SimilarSearch(long videoId)
186186
public record RequestBody(
187187
[property: JsonPropertyName("id")] long Id,
188188
[property: JsonPropertyName("attributesToRetrieve")] string[] AttributesToRetrieve,
189-
[property: JsonPropertyName("limit")] int Limit = 10);
189+
[property: JsonPropertyName("limit")] int Limit = 10)
190+
{
191+
[JsonPropertyName("embedder")] public string Embedder => "default";
192+
}
193+
190194

191195
public record Response()
192196
{

0 commit comments

Comments
 (0)