change time type
This commit is contained in:
parent
d28b93fecc
commit
a7d5f20195
@ -30,10 +30,12 @@ rootRouter.get('/getpost', async (c, n) => {
|
|||||||
resData.page = fbid
|
resData.page = fbid
|
||||||
resData.postid = postData.id
|
resData.postid = postData.id
|
||||||
resData.text = postData.txt
|
resData.text = postData.txt
|
||||||
resData.time = postData.time
|
resData.time = parseInt(postData.time)
|
||||||
resData.link = postData.link
|
resData.link = postData.link
|
||||||
}
|
}
|
||||||
|
|
||||||
|
postData = null
|
||||||
|
|
||||||
c.body = {
|
c.body = {
|
||||||
post: resData
|
post: resData
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user