mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
16 lines
296 B
JavaScript
16 lines
296 B
JavaScript
import ApplicationSerializer from './application';
|
|
|
|
export default class ServiceSerializer extends ApplicationSerializer {
|
|
attrs = {
|
|
connect: 'Connect',
|
|
};
|
|
|
|
normalize(typeHash, hash) {
|
|
if (!hash.Tags) {
|
|
hash.Tags = [];
|
|
}
|
|
|
|
return super.normalize(typeHash, hash);
|
|
}
|
|
}
|