Skip to content

Commit 8b14cd3

Browse files
committed
feat: wordpress
1 parent cfc75c1 commit 8b14cd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libraries/nestjs-libraries/src/integrations/social/wordpress.provider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,12 @@ export class WordpressProvider
197197
}
198198
);
199199

200-
console.log('nevo', mediaResponse);
201200
mediaId = mediaResponse.data.id;
202201
}
203202

204203
const submit = await (
205204
await this.fetch(
206-
`https://cms.postiz.com/wp-json/wp/v2/${postDetails?.[0]?.settings?.type}`,
205+
`${body.domain}/wp-json/wp/v2/${postDetails?.[0]?.settings?.type}`,
207206
{
208207
headers: {
209208
Authorization: `Basic ${auth}`,

0 commit comments

Comments
 (0)