Skip to content

Commit

Permalink
fix: modified message construction and type
Browse files Browse the repository at this point in the history
Signed-off-by: James Ebert <[email protected]>
  • Loading branch information
JamesKEbert committed Apr 7, 2021
1 parent 9a4a0e5 commit 4ed3ea0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export enum DataTransferMessageType {
ProvideData = 'didcomm.org/datatransfer/0.1/provide-data',
ProvideData = 'https://didcomm.org/data-transfer/0.1/provide-data',
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export class DataTransferProvideDataMessage extends AgentMessage {

if (options) {
this.id = options.id || this.generateId()
this.goal_code = options.goal_code
this.attachments = options.attachments
}
}

Expand Down

0 comments on commit 4ed3ea0

Please sign in to comment.