Replace all usage of getPublishedContentByUrl (#3395)

This commit is contained in:
Taran Vohra
2025-06-25 18:55:02 +05:30
committed by GitHub
parent 14843ac343
commit cfe4812045
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export async function getSiteAPIToken(url: string) {
const api = new GitBookAPI({
endpoint: 'https://api.gitbook.com/cache',
});
const { data } = await api.urls.getPublishedContentByUrl({
const { data } = await api.urls.resolvePublishedContentByUrl({
url,
});