bigbuffet-rw/packages/pl-hooks/lib/normalizers/status-edit.ts
marcin mikołajczak ad24c03084 pl-hooks: Add new queries
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-28 14:58:32 +01:00

8 lines
193 B
TypeScript

import { StatusEdit } from 'pl-api';
const normalizeStatusEdit = ({ account, ...statusEdit }: StatusEdit) => ({
account_id: account.id,
...statusEdit,
});
export { normalizeStatusEdit };