File tree Expand file tree Collapse file tree 7 files changed +10
-24
lines changed
app/routes/project-version Expand file tree Collapse file tree 7 files changed +10
-24
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ export default class FunctionRoute extends Route {
3131 try {
3232 fnModule = await this . store . find (
3333 'class' ,
34- `${ project } -${ projectVersion } -${ className } `
34+ `${ project } -${ projectVersion } -${ className } ` . toLowerCase ( )
3535 ) ;
3636 } catch ( e ) {
3737 fnModule = await this . store . find (
3838 'namespace' ,
39- `${ project } -${ projectVersion } -${ className } `
39+ `${ project } -${ projectVersion } -${ className } ` . toLowerCase ( )
4040 ) ;
4141 }
4242
Original file line number Diff line number Diff line change @@ -26,7 +26,10 @@ export default class ModuleRoute extends ClassRoute {
2626 klass = `${ project } -${ klass } ` ;
2727 }
2828
29- return this . find ( 'module' , `${ project } -${ projectVersion } -${ klass } ` ) ;
29+ return this . find (
30+ 'module' ,
31+ `${ project } -${ projectVersion } -${ klass } ` . toLowerCase ( )
32+ ) ;
3033 }
3134
3235 serialize ( model ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ export default class NamespaceRoute extends ClassRoute {
1919 this . metaStore
2020 ) ;
2121 const klass = params [ 'namespace' ] ;
22- return this . find ( 'namespace' , `${ project } -${ projectVersion } -${ klass } ` ) ;
22+ return this . find (
23+ 'namespace' ,
24+ `${ project } -${ projectVersion } -${ klass } ` . toLowerCase ( )
25+ ) ;
2326 }
2427
2528 serialize ( model ) {
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments