Skip to content

Commit 322660e

Browse files
rename the original post api to 'file'
1 parent 9bdb137 commit 322660e

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/APIs/APIs.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ export const GET_AVATAR = ROOT + "api/user/get_avatar";
2929
export const TOGGLE_NICKNAME = ROOT + "api/my/toggle_nickname";
3030
export const UPDATE_CONTACT = ROOT + "api/user/update_contact";
3131

32-
export const FILE_LIST = ROOT + "api/list/posts";
33-
export const GET_FILE_CONTENT = ROOT + "api/query/post_content";
34-
export const REMOVE_FILE = ROOT + "api/mutating/remove_post";
35-
export const ADD_FILE = ROOT + "api/mutating/new_post";
36-
export const MODIFY_FILE = ROOT + "api/mutating/modify_post";
32+
export const FILE_LIST = ROOT + "api/list/files";
33+
export const GET_FILE_CONTENT = ROOT + "api/query/file_content";
34+
export const REMOVE_FILE = ROOT + "api/mutating/remove_file";
35+
export const ADD_FILE = ROOT + "api/mutating/new_file";
36+
export const MODIFY_FILE = ROOT + "api/mutating/modify_file";
37+
3738
export const COLLECT_PROGRAM = ROOT + "api/user/collect_program";
3839
export const UNCOLLECT_PROGRAM = ROOT + "api/user/un_collect_program";
3940

0 commit comments

Comments
 (0)