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
1 changed files with 2 additions and 0 deletions

View File

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