Skip to content

Commit

Permalink
fix upload call
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed May 13, 2022
1 parent 5332062 commit 7588366
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 203 deletions.
2 changes: 1 addition & 1 deletion react-jacdac
201 changes: 0 additions & 201 deletions src/components/blockly/dsl/clouddsl.ts

This file was deleted.

3 changes: 2 additions & 1 deletion src/components/blockly/dsl/servicesdsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export class ServicesBlockDomainSpecificLanguage
let label = inputs[0].fields["label"]
.value as string
if (label === undefined) label = ""
const { value: role } = inputs[0].fields["role"]
const exprsErrors = inputs
.filter(i => i.child)
.map(a => blockToExpression(undefined, a.child))
Expand All @@ -161,7 +162,7 @@ export class ServicesBlockDomainSpecificLanguage
...exprsErrors.map(e => e.expr),
],
callee: toMemberExpression(
"cloud",
role.toString(),
"upload"
),
}),
Expand Down

0 comments on commit 7588366

Please sign in to comment.