bigbuffet-rw/packages/pl-hooks/lib/normalizers/status-edit.ts

9 lines
193 B
TypeScript
Raw Normal View History

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