return yield* _(
json,
Schema.decodeUnknownEither(AuthorsResponse),
Either.mapLeft(
(parseError) =>
new FormattingError({
endpoint: endpointUrl,
message: parseError.message,
}),
),
);
return yield* _(
json,
Schema.decodeUnknownEither(AuthorsResponse),
Either.mapLeft(
(parseError) =>
new FormattingError({
endpoint: endpointUrl,
message: parseError.message,
}),
),
);