service(globals): use self
instead of services()
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
a061644b2d
commit
3ed561cb31
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ impl Service {
|
|||
let mut keys = self.db.signing_keys_for(origin)?;
|
||||
if origin == self.server_name() {
|
||||
keys.insert(
|
||||
format!("ed25519:{}", services().globals.keypair().version())
|
||||
format!("ed25519:{}", self.keypair().version())
|
||||
.try_into()
|
||||
.expect("found invalid server signing keys in DB"),
|
||||
VerifyKey {
|
||||
|
|
Loading…
Add table
Reference in a new issue