Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
echo body back, increment revision (#78)
Browse files Browse the repository at this point in the history
Signed-off-by: Brooks Townsend <[email protected]>
  • Loading branch information
brooksmtownsend authored Sep 14, 2021
1 parent 3fa091c commit 0093694
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion actor/echo/Cargo.lock

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

2 changes: 1 addition & 1 deletion actor/echo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "echo"
version = "0.3.0"
version = "0.3.1"
authors = [ "wasmcloud Team" ]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion actor/echo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PROJECT = echo
VERSION = $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[] .version' | head -1)
REVISION = 0
REVISION = 4
# list of all contract claims for actor signing (space-separated)
CLAIMS = wasmcloud:httpserver
# registry url for our actor
Expand Down
2 changes: 1 addition & 1 deletion actor/echo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl HttpServer for EchoActor {
"method": &value.method,
"path": &value.path,
"query_string": &value.query_string,
"body": b"".to_vec(),
"body": &value.body,
});
let resp = HttpResponse {
body: serde_json::to_vec(&body)
Expand Down

0 comments on commit 0093694

Please sign in to comment.