Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Commit d5f64af

Browse files
authored
endpoint: fix bug in endpoint create method which caused panic (#8)
1 parent 8d7a7f8 commit d5f64af

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## Version 0.6.1
4+
* fix bug in `endpoint create` which caused a panic
5+
36
## Version 0.6.0
47
* Change verify to use flags for non payload data instead of positional arguments
58

cmd/endpoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Example Schema:
6969

7070
var in []byte
7171
if len(args) > 1 {
72-
in = []byte(args[2])
72+
in = []byte(args[1])
7373
} else {
7474
var err error
7575
in, err = utils.ReadPipe()

0 commit comments

Comments
 (0)