auto plan synchronization

This commit is contained in:
Čarodej
2022-04-04 19:05:02 +02:00
parent 80b2371868
commit bf6bc17d7d
22 changed files with 115 additions and 104 deletions
@@ -64,7 +64,8 @@ class StorePaymentServiceCredentialsController
// Store credentials into the .env file
setEnvironmentValue($credentials[$request->input('service')]);
// TODO: call plan synchronization
// Call plan synchronization for makingcg/subscription package
cache()->add('action.synchronize-plans', now()->toString());
// Clear cache
if (! is_dev()) {