"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.amityPostsFormatter = void 0;
const amityPostsFormatter = async posts => {
  const formattedPostList = await Promise.all(posts.map(async item => {
    return {
      ...item
    };
  }));
  return formattedPostList;
};
exports.amityPostsFormatter = amityPostsFormatter;
//# sourceMappingURL=post.js.map