Skip to content

Commit

Permalink
fix: Publish to uncategorized with default options.
Browse files Browse the repository at this point in the history
  • Loading branch information
devbean committed Feb 9, 2023
1 parent 90bfea8 commit 3ee1a9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class WordpressPlugin extends Plugin {
const params: WordPressPostParams = {
status: this.#settings?.defaultPostStatus ?? PostStatus.Draft,
commentStatus: this.#settings?.defaultCommentStatus ?? CommentStatus.Open,
categories: [],
categories: [ 1 ],
tags: [],
title: '',
content: ''
Expand Down

0 comments on commit 3ee1a9c

Please sign in to comment.