Add no trailing whitespace and force eol at end of file. (#3154)
This commit is contained in:
committed by
Florent Vilmart
parent
7292fa7f11
commit
11f7712651
@@ -11,7 +11,7 @@ const transformKey = (className, fieldName, schema) => {
|
||||
case 'updatedAt': return '_updated_at';
|
||||
case 'sessionToken': return '_session_token';
|
||||
}
|
||||
|
||||
|
||||
if (schema.fields[fieldName] && schema.fields[fieldName].__type == 'Pointer') {
|
||||
fieldName = '_p_' + fieldName;
|
||||
} else if (schema.fields[fieldName] && schema.fields[fieldName].type == 'Pointer') {
|
||||
@@ -911,7 +911,7 @@ var BytesCoder = {
|
||||
};
|
||||
},
|
||||
|
||||
isValidDatabaseObject(object) {
|
||||
isValidDatabaseObject(object) {
|
||||
return (object instanceof mongodb.Binary) || this.isBase64Value(object);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user