return error codes from webfinger

This commit is contained in:
jesopo 2019-09-10 17:34:01 +01:00
parent a99f359266
commit 74d2c18954

View file

@ -64,6 +64,10 @@ class Module(ModuleManager.BaseModule):
}],
"subject": resource
})
else:
event["response"].code = 404
else:
event["response"].code = 400
@utils.hook("api.get.ap-user")
@utils.kwarg("authenticated", False)