Replaced Moment with Carbon #84

Merged
Ghost merged 148 commits from develop into beta 2022-09-22 05:53:36 +02:00
3 changed files with 2 additions and 12 deletions
Showing only changes of commit 1d206b927d - Show all commits

View file

@ -90,11 +90,4 @@ class SettingsAPIController extends Controller
);
}
}
//init stuff
public function setupFresh(Request $request)
{
$body = json_decode($request->getContent());
dd($body);
}
}

View file

@ -23,7 +23,8 @@ class SettingsService
$this->tags = [];
}
$this->docs = $docService;
$this->docs = $docService;
$this->contents = $contentService;
}
protected function loadSettings()

View file

@ -18,10 +18,6 @@ use App\Http\Controllers\API\MailAPIController;
|
*/
//site setup
Route::post("/v1/init", [InitAPIController::class, 'setupFresh']);
Route::post("/v1/restore", [InitAPIController::class, 'setupRestore']);
//handle page editing actions
Route::group(['prefix' => '/admin/page', 'middleware' => 'validate.key'], function () {
Route::put("/update", [PageAPIController::class, 'update']);