index with key not value

This commit is contained in:
Charlotte 🦝 Delenk 2022-10-26 20:32:41 +01:00
parent a0d89aa065
commit b9ad2b8419
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -78,7 +78,7 @@
};
":activitypub".authorized_fetch_mode = true;
":mrf_simple" = let
processMap = m: map (k: mkTuple [k m.${v}]) (builtins.attrNames m);
processMap = m: map (k: mkTuple [k m.${k}]) (builtins.attrNames m);
in {
reject = processMap {
"qoto.org" = "Freeze Peach";