summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorGravatar default2023-12-10 17:46:54 +0100
committerGravatar default2023-12-10 17:46:54 +0100
commit0e6c5f9463d7800b40b777af50c6c09ee3d97af2 (patch)
tree590a9a3a6836145e01db0d874f3d6a2967189df4 /http.c
parentThe 'actor' command from the command-line allows non-signed queries. (diff)
downloadsnac2-0e6c5f9463d7800b40b777af50c6c09ee3d97af2.tar.gz
snac2-0e6c5f9463d7800b40b777af50c6c09ee3d97af2.tar.xz
snac2-0e6c5f9463d7800b40b777af50c6c09ee3d97af2.zip
actor_request() does not need a user argument.
Diffstat (limited to '')
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.c b/http.c
index d7f1629..4f9b4b4 100644
--- a/http.c
+++ b/http.c
@@ -173,7 +173,7 @@ int check_signature(snac *user, xs_dict *req, xs_str **err)
173 173
174 xs *actor = NULL; 174 xs *actor = NULL;
175 175
176 if (!valid_status(actor_request(user, keyId, &actor))) { 176 if (!valid_status(actor_request(keyId, &actor))) {
177 *err = xs_fmt("unknown actor %s", keyId); 177 *err = xs_fmt("unknown actor %s", keyId);
178 return 0; 178 return 0;
179 } 179 }