mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +00:00
fix: add SC prefix to the camel cased type of the instance
This commit is contained in:
@@ -104,7 +104,7 @@ export class Validator {
|
||||
throw new Error('Instance.type does not exist.');
|
||||
}
|
||||
|
||||
const schemaName = instance.type.split(' ').map((part) => {
|
||||
const schemaName = 'SC' + instance.type.split(' ').map((part) => {
|
||||
return part.substr(0, 1).toUpperCase() + part.substr(1);
|
||||
}).join('');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user