Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit e6bbd66

Browse files
committed
Update comment
1 parent a93beb8 commit e6bbd66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/wordpress/_global/getPostTypeById.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import getMenus from '../menus/getMenus'
1919
* @param {string} postType WP post type.
2020
* @param {number | string} id Post identifier.
2121
* @param {string} idType Type of ID.
22-
* @param {boolean} preview Whether requesting preview of draft.
22+
* @param {boolean} preview Whether checking if post preview exists.
2323
* @return {object} Object containing Apollo client instance and post data or error object.
2424
*/
2525
export default async function getPostTypeById(

0 commit comments

Comments
 (0)