748b17e0ea
* answers could be derived from answerType * improve readability of API test data * update API tests for removed answers property
12 lines
291 B
JavaScript
12 lines
291 B
JavaScript
import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';
|
|
import ApplicationSerializer from './application';
|
|
|
|
export default class PollSerializer extends ApplicationSerializer.extend(
|
|
EmbeddedRecordsMixin,
|
|
) {
|
|
attrs = {
|
|
users: {
|
|
deserialize: 'records',
|
|
},
|
|
};
|
|
}
|