From 6b796258d413f00e498ce7f80f73a9f6c061f29c Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 30 Mar 2024 23:40:33 +0100 Subject: Updated 5 files, added 2 files, deleted 495 files and renamed 7 files (automated) --- pages/api/pluralkit-integration.php | 64 ------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 pages/api/pluralkit-integration.php (limited to 'pages/api/pluralkit-integration.php') diff --git a/pages/api/pluralkit-integration.php b/pages/api/pluralkit-integration.php deleted file mode 100644 index 9b0033d..0000000 --- a/pages/api/pluralkit-integration.php +++ /dev/null @@ -1,64 +0,0 @@ - $system - ]); - createJob("UpdateAssets", [ - "type" => "members" - ]); -} - -if ($input["type"] === "UPDATE_SYSTEM") { - createJob("PKSystem", [ - "system" => $system - ]); - createJob("UpdateAssets", [ - "type" => "system" - ]); -} - -if ($input["type"] === "CREATE_SWITCH" || $input["type"] === "UPDATE_SWITCH" || $input["type"] === "DELETE_SWITCH") { - createJob("PKFronters", [ - "system" => $system - ]); - createJob("PKSwitches", [ - "system" => $system - ]); - createJob("FrontersNotification", [ - "system" => $system - ]); -} -- cgit