* empty commit
* Add missing copyright headers
* chore: 🤖 update copywrite config file with correct year
* Add missing copyright headers
* empty commit (gh action merge checks are stuck)
23 lines
564 B
JavaScript
23 lines
564 B
JavaScript
/**
|
|
* Copyright IBM Corp. 2021, 2026
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import ApplicationSerializer from './application';
|
|
|
|
export default ApplicationSerializer.extend({
|
|
modelName: 'credential-store',
|
|
|
|
_hashForModel(/* model */) {
|
|
const json = ApplicationSerializer.prototype._hashForModel.apply(
|
|
this,
|
|
arguments,
|
|
);
|
|
// in a real API, the following fields are set-only and returned in
|
|
// associated HMAC fields
|
|
delete json.attributes?.token;
|
|
delete json.attributes?.client_certificate_key;
|
|
return json;
|
|
},
|
|
});
|