import { App } from './types';

export const transformApp = (response: any): App => {
  return {
    id: response.id ?? '',
    name: response.name ?? '',
    slug: response.slug ?? '',
    url: response.url ?? '',
  };
};
