function normalizeBody(body) {
  const normalized = {};
  Object.keys(body).forEach((key) => {
    normalized[key.toLowerCase()] = body[key];
  });

  return normalized;
}
/**
 * Bitwarden has a very loosely enforced API in terms of case-sensitivity
 * The API accepts any case and clients actually send a mix
 * For compatibility, we just use lowercase everywhere
 */
Bitwarden has a very loosely enforced API in terms of case-sensitivity
The API accepts any case and clients actually send a mix
For compatibility, we just use lowercase everywhere
Bitwarden has a very loosely enforced API in terms of case - sensitivity The API accepts any case and clients actually send a mix For compatibility we just use lowercase everywhere
function normalizeBody(body) {
  const normalized = {};
  Object.keys(body).forEach((key) => {
    normalized[key.toLowerCase()] = body[key];
  });
  return normalized;
}
function normalizeBody ( body ) { const normalized = { } ; Object . keys ( body ) . forEach ( ( key ) => { normalized [ key . toLowerCase ( ) ] = body [ key ] ; } ) ; return normalized ; }
Bitwarden has a very loosely enforced API in terms of case-sensitivity
 The API accepts any case and clients actually send a mix
 For compatibility, we just use lowercase everywhere
Bitwarden has a very loosely enforced API in terms of case - sensitivity The API accepts any case and clients actually send a mix For compatibility we just use lowercase everywhere