Skip to content

Track wallet after Scaffold generation #33#34

Merged
layko-andrey merged 3 commits into
masterfrom
track-wallet-#33
Mar 10, 2021
Merged

Track wallet after Scaffold generation #33#34
layko-andrey merged 3 commits into
masterfrom
track-wallet-#33

Conversation

@trenatov
Copy link
Copy Markdown
Member

@trenatov trenatov commented Mar 5, 2021

Track wallet after Scaffold generation #33

@trenatov trenatov requested a review from layko-andrey March 5, 2021 10:12
@field:NotBlank @field:Digits(integer = Int.MAX_VALUE, fraction = Int.MAX_VALUE) var fiatAmount: String? = null,
@field:NotNull var currency: Currency? = null,
@field:NotBlank @field:Digits(integer = Int.MAX_VALUE, fraction = Int.MAX_VALUE) var conversionAmount: String? = null,
var webHook: String? = null,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Webhook url mandatory parameter in Open State

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but we send onyl if it has webhhook. Or should it be also mandatory in Open API?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it should be mandatory. Request to Open State would fail if no webhook url would be specified

@@ -80,6 +83,7 @@ class DefaultEthereumScaffoldService(
val properties = request.properties.map { propertyRepository.save(EthereumScaffoldProperty.of(scaffold, it)) }
scaffold.property.addAll(properties)
getScaffoldSummary(scaffold.address, openKey.user, true)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Webhook is mandatory parameter in Open State

@layko-andrey layko-andrey merged commit 3a80bbc into master Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants