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