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

Commit 9a16eb4

Browse files
committed
Add author tag
1 parent 5677821 commit 9a16eb4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pages/api/exit-preview.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* Exit preview mode and redirect to homepage.
33
*
4+
* @author WebDevStudios
45
* @param {object} req Instance of http.IncomingMessage.
56
* @param {object} res Instance of http.ServerResponse.
67
*/

pages/api/preview.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {postTypes} from '@/api/wordpress/_global/postTypes'
55
/**
66
* Provide post preview functionality.
77
*
8+
* @author WebDevStudios
89
* @param {object} req Instance of http.IncomingMessage.
910
* @param {object} res Instance of http.ServerResponse.
1011
* @return {object} Redirects to appropriate post route on success, returns response error object otherwise.

0 commit comments

Comments
 (0)