open-vault/ui/app/serializers/secret-v2.js
Matthew Irish 7f4dbe3fd2
Ui kv v2 redux (#4393)
* remove header used for backwards compatibility in KV mounts, and use v1 paths for v1, v2 paths for v2

* make the model hook always run

* simplify adapter & serializer code for secrets

* update tests

* fix lease tests

* address review feedback
2018-04-19 21:26:25 -05:00

6 lines
118 B
JavaScript

import SecretSerializer from './secret';
export default SecretSerializer.extend({
secretDataPath: 'data.data',
});