synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
18 lines (17 loc) • 391 B
JavaScript
import { REPO as o } from "../../../utils/APIConstants.js";
import { http as r, HttpResponse as n } from "msw";
function m(t) {
return [
r.post(
`${t}${o}/message`,
async ({ request: s }) => {
const e = await s.json();
return n.json(e, { status: 201 });
}
)
];
}
export {
m as getMessageHandlers
};
//# sourceMappingURL=messageHandlers.js.map