16 lines
372 B
JavaScript
16 lines
372 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import ApplicationSerializer from './application';
|
|
import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';
|
|
|
|
export default class ConnectionSerializer extends ApplicationSerializer.extend(
|
|
EmbeddedRecordsMixin
|
|
) {
|
|
attrs = {
|
|
channel_recordings: { embedded: 'always' },
|
|
};
|
|
}
|