Skip to content

Commit 565ea53

Browse files
committed
update doc
1 parent 3d775cd commit 565ea53

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

proto/auth/v1/auth.proto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
2626
"```\n"
2727
"curl -X POST -H \"Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9....\" /v1/wallet/topup "
2828
"```\n\n"
29-
"If you get `Unauthorized`, this mean that you have not put in your token "
30-
"or your token is invalid (expired, incorrect hash)"
29+
"If you get `Unauthorized`, this mean that you have not put in your token in the header"
30+
"or your token is invalid provided (expired, incorrect hash).\n\n"
31+
"The token is configured to expired in 10 days, hard-coding it is also a choice."
3132
extensions: {
3233
key: "x-logo"
3334
value: {

0 commit comments

Comments
 (0)