Skip to content
Snippets Groups Projects
Commit 1a3968aa authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

fix(tech): avoid ghost api version warning

parent 6bf1a37d
No related branches found
No related tags found
1 merge request!294V2.3.0
...@@ -73,7 +73,7 @@ services: ...@@ -73,7 +73,7 @@ services:
ghost: ghost:
platform: linux/x86_64 platform: linux/x86_64
image: ghost:latest image: ghost:5.23.0
restart: always restart: always
container_name: resin-ghost container_name: resin-ghost
ports: ports:
......
...@@ -17,7 +17,7 @@ require('dotenv').config({ path: path.resolve(__dirname, '../.env') }); ...@@ -17,7 +17,7 @@ require('dotenv').config({ path: path.resolve(__dirname, '../.env') });
const api = new GhostAdminAPI({ const api = new GhostAdminAPI({
url: process.env.GHOST_HOST_AND_PORT, url: process.env.GHOST_HOST_AND_PORT,
key: process.env.GHOST_ADMIN_API_KEY, key: process.env.GHOST_ADMIN_API_KEY,
version: 'v3', version: 'v5.0',
}); });
async function deleteTags(existingTags) { async function deleteTags(existingTags) {
......
...@@ -19,7 +19,7 @@ export class PostsService { ...@@ -19,7 +19,7 @@ export class PostsService {
this.api = new GhostAdminAPI({ this.api = new GhostAdminAPI({
url: process.env.GHOST_HOST_AND_PORT, url: process.env.GHOST_HOST_AND_PORT,
key: process.env.GHOST_ADMIN_API_KEY, key: process.env.GHOST_ADMIN_API_KEY,
version: 'v3', version: 'v5.0',
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment