Commit 378e9590 authored by Quoc Le's avatar Quoc Le
Browse files

(fix) correct name

parent d07d93e9
......@@ -5,7 +5,7 @@
"to": "cxab3ce0c6a660ff82ba390ff6ea1ee0fe9befbe63",
"dataType": "call",
"data": {
"method": "get_poll",
"method": "getpoll",
"params": {
"id": "1"
}
......
......@@ -5,7 +5,7 @@
"to": "cxab3ce0c6a660ff82ba390ff6ea1ee0fe9befbe63",
"dataType": "call",
"data": {
"method": "get_vote",
"method": "getvote",
"params": {
"id": "1"
}
......
......@@ -7,8 +7,8 @@ class hello(IconScoreBase):
def __init__(self, db: IconScoreDatabase) -> None:
super().__init__(db)
self._poll_table = DictDB('pollid', db, value_type=str)
self._vote_table = DictDB('voteid', db, value_type=str)
self._poll_table = DictDB('polltbl', db, value_type=str)
self._vote_table = DictDB('votetbl', db, value_type=str)
def on_install(self) -> None:
super().on_install()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment