DEV: Remove old pretender paths (#17464)

This commit is contained in:
Jarek Radosz 2022-07-13 11:01:20 +02:00 committed by GitHub
parent 83b91e9992
commit 22b6d1b668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -341,20 +341,10 @@ export function applyDefaultHandlers(pretender) {
});
});
// TODO: Remove this old path when no longer using old ember
pretender.get("/post_replies", () => {
return response({ post_replies: [{ id: 1234, cooked: "wat" }] });
});
pretender.get("/posts/:id/replies", () => {
return response([{ id: 1234, cooked: "wat", username: "somebody" }]);
});
// TODO: Remove this old path when no longer using old ember
pretender.get("/post_reply_histories", () => {
return response({ post_reply_histories: [{ id: 1234, cooked: "wat" }] });
});
pretender.get("/posts/:id/reply-history", () => {
return response([{ id: 1234, cooked: "wat" }]);
});