Skip to content

Conversation

@jamietanna
Copy link
Contributor

@jamietanna jamietanna commented Nov 16, 2021

WIP:

  • validation for required-properties doesn't seem to be working - looks like there's nothing automagic (as I was expecting)
  • commit history needs to split, as there's a mix of things being changed, here
  • does it make sense to use channels in this way?
  • does it make sense to have the logic for checking the post-type like so?
  • remove console.logs
  • don't trigger syndication

Notes:

  • all the CRUD actions seem to work!

Closes #22

}

if (post.channel === 'contacts') {
return `contacts/${post.properties.nickname[0]}`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test input will need to change as we've not done it quite this way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Micropub actions for contacts

1 participant