open-nomad/ui/app/serializers/structured-attributes.js
2023-04-10 15:36:59 +00:00

15 lines
349 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ApplicationSerializer from './application';
import classic from 'ember-classic-decorator';
@classic
export default class StructuredAttributes extends ApplicationSerializer {
normalize(typeHash, hash) {
return super.normalize(typeHash, { Raw: hash });
}
}