diff options
Diffstat (limited to 'src/storage.erl')
-rw-r--r-- | src/storage.erl | 2 |
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)} ]}) |