Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
fix: update api value for issue 166 (#167)
Browse files Browse the repository at this point in the history
* update api value
& bump version

* update test
  • Loading branch information
tboeckmann committed Feb 16, 2020
1 parent d7bf897 commit fb7f066
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mailchain-web",
"version": "0.0.8",
"version": "0.0.9",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down Expand Up @@ -60,4 +60,4 @@
"tslint": "~5.11.0",
"typescript": "~3.5.3"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ describe('InboxComposeComponent', () => {
spyOn(publicKeyService, "getPublicKeyFromAddress").and.callFake(() => {
return of({
"body": {
"public_key": '1234567890abcd'
"public-key": '1234567890abcd'
}
})
});
Expand Down
2 changes: 1 addition & 1 deletion src/app/inbox/inbox-compose/inbox-compose.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ export class InboxComposeComponent implements OnInit {
this.currentNetwork
).subscribe(res => {

this.model.publicKey = res["body"]["public_key"]
this.model.publicKey = res["body"]["public-key"]
var outboundMail = this.generateMessage(this.model, this.inputContentType)

this.sendMessage(outboundMail).subscribe(res => {
Expand Down

0 comments on commit fb7f066

Please sign in to comment.