Update AdminInstanceController, invalidate banned domain cache when updated

This commit is contained in:
Daniel Supernault 2021-04-20 22:31:11 -06:00
parent e73b2f8373
commit 35393edfef
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -126,6 +126,8 @@ trait AdminInstanceController
break;
}
Cache::forget('instances:banned:domains');
return response()->json([]);
}
}