fix naming on a function
This commit is contained in:
parent
42222839b6
commit
a7cf1be323
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@matthiesenxyz/astro-ghostcms",
|
"name": "@matthiesenxyz/astro-ghostcms",
|
||||||
"description": "Astro GhostCMS integration to allow easier importing of GhostCMS Content",
|
"description": "Astro GhostCMS integration to allow easier importing of GhostCMS Content",
|
||||||
"version": "3.0.4",
|
"version": "3.0.5",
|
||||||
"homepage": "https://astro-ghostcms.xyz/",
|
"homepage": "https://astro-ghostcms.xyz/",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -13,7 +13,7 @@ let ghostApiKey = CONTENT_API_KEY;
|
||||||
let ghostUrl = CONTENT_API_URL;
|
let ghostUrl = CONTENT_API_URL;
|
||||||
const version = "v5.0";
|
const version = "v5.0";
|
||||||
|
|
||||||
export const getGhostAuthors = async () => {
|
export const getAllAuthors = async () => {
|
||||||
const api = new TSGhostContentAPI(ghostUrl, ghostApiKey, version);
|
const api = new TSGhostContentAPI(ghostUrl, ghostApiKey, version);
|
||||||
const results = await api.authors
|
const results = await api.authors
|
||||||
.browse()
|
.browse()
|
||||||
|
|
Loading…
Reference in New Issue