You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can gather after following your demo to the letter (outside of api keys, index name, and content type), I am not getting the content stage which it looks like you get in your code on hookbin. Would you have any insight as to access that the content stage data? Or a possible workaround that would allow me to pass the data into algolia? Any help you can provide would be greatly appreciated.
Cannot destructure property 'id' of 'PUBLISHED' as it is undefined.
here is the data passed back from ngrok when I make a change to a post :
{
"operation": "publish",
"data": {
"__typename": "Post",
"author": [
{
"__typename": "Author",
"id": "ckzeln59scorc0b77iv59abik"
}
],
"content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. ",
"createdAt": "2022-02-08T20:56:46.972835+00:00",
"createdBy": {
"__typename": "User",
"id": "ckzbyct9g2uxw01z6f25416ng"
},
"date": "2022-02-08T20:54:00+00:00",
"description": "This is a testing post used for my purposes and searching purposes!!",
"id": "ckzelstqwcusg0a728ofd8123",
"publishedAt": "2022-04-22T17:06:02.866182+00:00",
"publishedBy": {
"__typename": "User",
"id": "ckzbyct9g2uxw01z6f25416ng"
},
"scheduledIn": [],
"slug": "test-content-post",
"stage": "PUBLISHED",
"tags": [
"educational",
"Educational"
],
"title": "Educational Development Test Post 1",
"updatedAt": "2022-04-22T16:33:51.280676+00:00",
"updatedBy": {
"__typename": "User",
"id": "ckzbyct9g2uxw01z6f25416ng"
}
}
}
The text was updated successfully, but these errors were encountered:
From what I can gather after following your demo to the letter (outside of api keys, index name, and content type), I am not getting the content stage which it looks like you get in your code on hookbin. Would you have any insight as to access that the content stage data? Or a possible workaround that would allow me to pass the data into algolia? Any help you can provide would be greatly appreciated.
Cannot destructure property 'id' of 'PUBLISHED' as it is undefined.
here is the data passed back from ngrok when I make a change to a post :
{
"operation": "publish",
"data": {
"__typename": "Post",
"author": [
{
"__typename": "Author",
"id": "ckzeln59scorc0b77iv59abik"
}
],
"content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. ",
"createdAt": "2022-02-08T20:56:46.972835+00:00",
"createdBy": {
"__typename": "User",
"id": "ckzbyct9g2uxw01z6f25416ng"
},
"date": "2022-02-08T20:54:00+00:00",
"description": "This is a testing post used for my purposes and searching purposes!!",
"id": "ckzelstqwcusg0a728ofd8123",
"publishedAt": "2022-04-22T17:06:02.866182+00:00",
"publishedBy": {
"__typename": "User",
"id": "ckzbyct9g2uxw01z6f25416ng"
},
"scheduledIn": [],
"slug": "test-content-post",
"stage": "PUBLISHED",
"tags": [
"educational",
"Educational"
],
"title": "Educational Development Test Post 1",
"updatedAt": "2022-04-22T16:33:51.280676+00:00",
"updatedBy": {
"__typename": "User",
"id": "ckzbyct9g2uxw01z6f25416ng"
}
}
}
The text was updated successfully, but these errors were encountered: