MCPcopy Create free account
hub / github.com/codemistic/Web-Development / deletePost

Function deletePost

project_mern_memories/client/src/api/index.js:9–9  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

7export const likePost = (id) => axios.patch(`${url}/${id}/likePost`);
8export const updatePost = (id, updatedPost) => axios.patch(`${url}/${id}`, updatedPost);
9export const deletePost = (id) => axios.delete(`${url}/${id}`);

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected