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 {
31
31
try {
32
32
fnModule = await this . store . find (
33
33
'class' ,
34
- `${ project } -${ projectVersion } -${ className } `
34
+ `${ project } -${ projectVersion } -${ className } ` . toLowerCase ( )
35
35
) ;
36
36
} catch ( e ) {
37
37
fnModule = await this . store . find (
38
38
'namespace' ,
39
- `${ project } -${ projectVersion } -${ className } `
39
+ `${ project } -${ projectVersion } -${ className } ` . toLowerCase ( )
40
40
) ;
41
41
}
42
42
Original file line number Diff line number Diff line change @@ -26,7 +26,10 @@ export default class ModuleRoute extends ClassRoute {
26
26
klass = `${ project } -${ klass } ` ;
27
27
}
28
28
29
- return this . find ( 'module' , `${ project } -${ projectVersion } -${ klass } ` ) ;
29
+ return this . find (
30
+ 'module' ,
31
+ `${ project } -${ projectVersion } -${ klass } ` . toLowerCase ( )
32
+ ) ;
30
33
}
31
34
32
35
serialize ( model ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ export default class NamespaceRoute extends ClassRoute {
19
19
this . metaStore
20
20
) ;
21
21
const klass = params [ 'namespace' ] ;
22
- return this . find ( 'namespace' , `${ project } -${ projectVersion } -${ klass } ` ) ;
22
+ return this . find (
23
+ 'namespace' ,
24
+ `${ project } -${ projectVersion } -${ klass } ` . toLowerCase ( )
25
+ ) ;
23
26
}
24
27
25
28
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