Skip to content

Commit

Permalink
cross-contract-call example fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
volovyks committed Aug 31, 2022
1 parent 201ebc3 commit 07f29e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/src/cross-contract-call.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ import { NearBindgen, call, view, initialize, near, bytes } from 'near-sdk-js'

@NearBindgen({ requireInit: true })
class OnCall {
constructor() {
this.personOnCall = ''
this.statusMessageContract = ''
}

@initialize
init({ statusMessageContract }) {
this.personOnCall = "undefined"
Expand Down

0 comments on commit 07f29e2

Please sign in to comment.