Skip to content

Commit ec48bff

Browse files
author
Ryan Kotzen
committed
renaming function
1 parent c78330c commit ec48bff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/metadata/hydrate-schema.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
module.exports = function hydrateOutputSchema(schema) {
33
schema.properties = schema.properties || {};
44
schema.required = schema.required || [];
5-
addId(schema);
5+
add_id(schema);
66
addStatusInfo(schema);
77
addOwnerInfo(schema);
88
};
99

10-
function addId(schema) {
10+
function add_id(schema) {
1111
const defaultIdField = {
1212
type: 'string',
1313
format: 'mongoId',

0 commit comments

Comments
 (0)