zhaoyingbo 865308ee31
All checks were successful
Egg CI/CD / build-image (push) Successful in 8m16s
Egg CI/CD / deploy (push) Successful in 7m47s
feat: Update code formatting and fix minor issues
2024-05-05 02:34:16 +00:00

14 lines
299 B
TypeScript

import { managePb404 } from "../../utils/pbTools";
import pbClient from "../pbClient";
const getOne = (groupId: string) =>
managePb404(
async () => await pbClient.collection("message_group").getOne(groupId)
);
const messageGroup = {
getOne,
};
export default messageGroup;