Skip to content

Commit

Permalink
Add Deserialize to SubmitMessageResponse (#862)
Browse files Browse the repository at this point in the history
* Add Deserialize to SubmitMessageResponse

* Update bee-api/bee-rest-api/CHANGELOG.md

Co-authored-by: Thibault Martinez <thibault.martinez.30@gmail.com>
  • Loading branch information
Thoralf-M and thibault-martinez committed Dec 6, 2021
1 parent 44bd84b commit 349a88e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions bee-api/bee-rest-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security -->

## 0.1.5 - 2021-12-06

### Added

- `Deserialize` to `SubmitMessageResponse`;

## 0.1.4 - 2021-12-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion bee-api/bee-rest-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bee-rest-api"
version = "0.1.4"
version = "0.1.5"
authors = [ "IOTA Stiftung" ]
edition = "2021"
description = "The default REST API implementation for the IOTA Bee node software."
Expand Down
2 changes: 1 addition & 1 deletion bee-api/bee-rest-api/src/types/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl BodyInner for TipsResponse {}

/// Response of POST /api/v1/messages.
/// Returns the message identifier of the submitted message.
#[derive(Clone, Debug, Serialize)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct SubmitMessageResponse {
#[serde(rename = "messageId")]
pub message_id: String,
Expand Down

0 comments on commit 349a88e

Please sign in to comment.