summaryrefslogtreecommitdiff
path: root/src/storage.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-03-01 09:37:30 +0100
committerLinus Nordberg <linus@nordu.net>2017-03-01 09:37:30 +0100
commit11fc428f6eb52936bdbde1be5a6cd4e56704bc68 (patch)
treef1e1ec4226429ebf1ba0735e611db97d14ba8993 /src/storage.erl
parent8ecfbfa2a57708366763d7adbfcb87f9b0df7d03 (diff)
Rename some variable and function names; add a NEWS entry.
Diffstat (limited to 'src/storage.erl')
-rw-r--r--src/storage.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage.erl b/src/storage.erl
index 489bf91..c64d918 100644
--- a/src/storage.erl
+++ b/src/storage.erl
@@ -19,7 +19,7 @@ request(post, ?APPURL_PLOP_STORAGE, "sendentry", Input) ->
ok = db:add_entry_sync(TreeLeafHash, LogEntry),
ok = storagedb:add(TreeLeafHash),
- {KeyName, Sig} = http_auth:sign_stored(plop:spt_from_entry(LogEntry)),
+ {KeyName, Sig} = http_auth:sign_stored(plop:spt_data_from_entry(LogEntry)),
success({[{result, <<"ok">>},
{"sig", KeyName ++ ":" ++ base64:encode_to_string(Sig)}
]})