summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2017-07-29 03:29:25 +0200
committerWuzzy <almikes@aol.com>2017-07-29 03:29:25 +0200
commited39e82458fd9f750aa53b3797174bdb4c01f4e4 (patch)
tree1f0504b013953d7bd8489113d281fad98658c42d
parent7cd7f3febb1f435fc884c81cbeea44034eb05bd4 (diff)
Fix incorrect function parameters in API.md
-rw-r--r--API.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/API.md b/API.md
index 59b8825..3c20a12 100644
--- a/API.md
+++ b/API.md
@@ -362,7 +362,7 @@ rest of the game.
#### Parameters
* `playername`: Name of the player for whom to reveal the entries
-### `doc.add_entry_alias(category_id_orig, entry_id_orig, category_id_alias, entry_id_orig)`
+### `doc.add_entry_alias(category_id_orig, entry_id_orig, category_id_alias, entry_id_alias)`
Adds a single alias for an entry. If an entry has an alias, supplying the
alias to a function which demand `category_id` and `entry_id` will work as expected.
When using this function, you must make sure the category already exists.