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