Skip to content

Commit e0852e2

Browse files
committed
Update DMT script to use author management APIs
1 parent fdf0020 commit e0852e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/dmt/create_user_op.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ EMAIL=${1}
1111

1212
NAME=${1}
1313

14-
USER_OP_PARAMS=$(cat <<END
14+
AUTHOR_PARAMS=$(cat <<END
1515
{
1616
"email": "${EMAIL}",
1717
"name": "${NAME}"
1818
}
1919
END
2020
)
2121

22-
woorl -s "damsel/proto/domain_config_v2.thrift" "http://dmt:8022/v1/domain/user_op" UserOpManagement Create "${USER_OP_PARAMS}" |
22+
woorl -s "damsel/proto/domain_config_v2.thrift" "http://dmt:8022/v1/domain/author" AuthorManagement Create "${AUTHOR_PARAMS}" |
2323
jq -r '.id'

0 commit comments

Comments
 (0)