Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreMaquet-HeArc authored Oct 31, 2023
2 parents 2aebbe6 + 62cd0f9 commit d7c946f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ yarn-error.log
/.vscode
app/Http/Controllers/TestController.php
resources/views/test.blade.php

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# BlueFlix
A website using TMDB's API to retrieve moovies
A website using TMDB's API to retrieve movies
2 changes: 1 addition & 1 deletion app/Models/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static function getSerieDetails($id)
$serie = Serie::where('id', $jsonData->id)->first();

if ($serie === null) {
// Si le film n'existe pas, ajoutez-le à la base de données
// Si la serie n'existe pas, ajoutez-le à la base de données
$serie = new Serie();
$serie->id = $jsonData->id;
}
Expand Down
4 changes: 3 additions & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
use App\Http\Controllers\HomeController;
use App\Http\Controllers\ListController;
use App\Http\Controllers\RegisterController;
use App\Http\Controllers\TestController;

//use App\Http\Controllers\TestController;
use App\Http\Controllers\UserController;

/*
Expand Down Expand Up @@ -37,3 +38,4 @@

//Route::get('/test/film', [TestController::class, 'showFilm'])->name('testFilm');
//oute::get('/test/serie', [TestController::class, 'showSerie'])->name('testSerie');

0 comments on commit d7c946f

Please sign in to comment.