Skip to content

Commit

Permalink
fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
bubao committed Aug 25, 2022
1 parent f38c107 commit 6013712
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author: bubao
* @Date: 2018-2-13 14:13:30
* @LastEditors: bubao
* @LastEditTime: 2020-07-21 19:28:23
* @LastEditTime: 2022-08-25 11:56:42
*/

const Post = require("./Columns/index");
Expand All @@ -16,11 +16,8 @@ const template = require("lodash/template");
const APIURL = (urlToken, mode, detail) => {
return template(API[mode][detail])({ url_token: urlToken });
};

module.exports = {
Post,
User,
Topic,
Columns,
APIURL
};
exports.Post = Post;
exports.User = User;
exports.Topic = Topic;
exports.Columns = Columns;
exports.APIURL = APIURL;

0 comments on commit 6013712

Please sign in to comment.