diff options
| author | 2023-12-10 17:46:54 +0100 | |
|---|---|---|
| committer | 2023-12-10 17:46:54 +0100 | |
| commit | 0e6c5f9463d7800b40b777af50c6c09ee3d97af2 (patch) | |
| tree | 590a9a3a6836145e01db0d874f3d6a2967189df4 /http.c | |
| parent | The 'actor' command from the command-line allows non-signed queries. (diff) | |
| download | snac2-0e6c5f9463d7800b40b777af50c6c09ee3d97af2.tar.gz snac2-0e6c5f9463d7800b40b777af50c6c09ee3d97af2.tar.xz snac2-0e6c5f9463d7800b40b777af50c6c09ee3d97af2.zip | |
actor_request() does not need a user argument.
Diffstat (limited to 'http.c')
| -rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | } |