mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(route) buildIndex: shorthands
This commit is contained in:
parent
f1bb0bfa71
commit
d2229e965a
1 changed files with 5 additions and 5 deletions
|
|
@ -217,14 +217,14 @@ function buildIndex(json, callback) {
|
|||
return;
|
||||
|
||||
const panel = CloudFunc.buildFromJSON({
|
||||
data : json,
|
||||
prefix : prefix(),
|
||||
template : Template
|
||||
data: json,,
|
||||
prefix: prefix(),
|
||||
template: Template
|
||||
});
|
||||
|
||||
const data = indexProcessing({
|
||||
panel : panel,
|
||||
data : template
|
||||
panel,
|
||||
data: template
|
||||
});
|
||||
|
||||
callback(error, data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue