From dcfb802a7f29a20f66e97f95aa82658766f261ea Mon Sep 17 00:00:00 2001 From: "Y.H LIEN" Date: Mon, 16 Oct 2023 23:46:49 +0900 Subject: [PATCH] feat: implement forum comment author new2 --- src/lambda/get-comments/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lambda/get-comments/index.py b/src/lambda/get-comments/index.py index 5324ebdb8..2db4d7443 100644 --- a/src/lambda/get-comments/index.py +++ b/src/lambda/get-comments/index.py @@ -15,7 +15,7 @@ def get_comments(thread_id, uid=""): if r["uid"] == uid: r["mod"] = True del r["uid"] - r["uid_mod"] = uid_encoder(uid) + r["authro"] = uid_encoder(uid) body = JsonPayloadBuilder().add_status( True).add_data(results).add_message('').compile()