Skip to content

Commit

Permalink
Laravel Telescope Configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
divinrkz committed Mar 5, 2021
1 parent 7360701 commit d54644b
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .rest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GET http://localhost:8000/api/product-sub-categories
GET http://localhost:8000/api/products


###
Expand Down
3 changes: 1 addition & 2 deletions app/Models/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Jenssegers\Mongodb\Eloquent\Model as Eloquent;

class Product extends Eloquent
Expand All @@ -27,7 +26,7 @@ class Product extends Eloquent
// }

public function productSubCategory() {
return $this->belongsTo(ProductSubCategory::class);
return $this->belongsTo(ProductCategory::class);
}


Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,16 @@
"guzzlehttp/guzzle": "^7.0.1",
"jenssegers/mongodb": "^3.8",
"laravel/framework": "^8.12",
"laravel/telescope": "^4.4",
"laravel/tinker": "^2.5",
"tymon/jwt-auth": "dev-develop#34d8e48 as 1.0.0-rc.3.2"
},
"require-dev": {
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",
"laravel/telescope": "^4.4",
"mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^5.0"

},
"config": {
"optimize-autoloader": true,
Expand Down
130 changes: 65 additions & 65 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d54644b

Please sign in to comment.