mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
fix: openapi test specs
This commit is contained in:
@@ -266,7 +266,8 @@ postsAPI.getDiffs = async (caller, data) => {
|
||||
privileges.users.isModerator(caller.uid, cid),
|
||||
]);
|
||||
|
||||
timestamps.push(post.timestamp);
|
||||
// timestamps returned by posts.diffs.list are strings
|
||||
timestamps.push(String(post.timestamp));
|
||||
|
||||
return {
|
||||
timestamps: timestamps,
|
||||
|
||||
Reference in New Issue
Block a user