Skip to content

Commit c93adf6

Browse files
committed
Update damsel submodule and fix author ID handling in script
1 parent 25dcac5 commit c93adf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

damsel

scripts/dmt/create_author.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ END
2020
)
2121

2222
woorl -s "damsel/proto/domain_config_v2.thrift" "http://dmt:8022/v1/domain/author" AuthorManagement Create "${AUTHOR_PARAMS}" |
23-
jq -r '.id'
23+
jq -r 'if has("exists") then .exists.id else .id end'

0 commit comments

Comments
 (0)