Update laravel-nami

This commit is contained in:
philipp lang 2022-03-04 01:57:03 +01:00
parent 0b19ee8856
commit 40d1ee6074
4 changed files with 2991 additions and 2484 deletions

View File

@ -81,10 +81,10 @@ class InitializeMembers {
try { try {
foreach ($this->api->coursesFor($member->id) as $course) { foreach ($this->api->coursesFor($member->id) as $course) {
$m->courses()->create([ $m->courses()->create([
'course_id' => Course::where('nami_id', $course->course_id)->firstOrFail()->id, 'course_id' => Course::where('nami_id', $course->courseId)->firstOrFail()->id,
'organizer' => $course->organizer, 'organizer' => $course->organizer,
'event_name' => $course->event_name, 'event_name' => $course->eventName,
'completed_at' => $course->completed_at, 'completed_at' => $course->completedAt,
'nami_id' => $course->id, 'nami_id' => $course->id,
]); ]);
} }

View File

@ -11,30 +11,29 @@
], ],
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^7.2.5", "php": "^8.1",
"cviebrock/eloquent-sluggable": "^8.0", "cviebrock/eloquent-sluggable": "^9.0",
"doctrine/dbal": "^3.1", "doctrine/dbal": "^3.1",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0",
"guzzlehttp/guzzle": "^7.0.1", "guzzlehttp/guzzle": "^7.0.1",
"inertiajs/inertia-laravel": "^0.2.5", "inertiajs/inertia-laravel": "^0.2.5",
"laravel/framework": "^8.0", "laravel/framework": "^9.0",
"laravel/horizon": "^5.0", "laravel/horizon": "^5.0",
"laravel/telescope": "^4.0", "laravel/telescope": "^4.0",
"laravel/tinker": "^2.0", "laravel/tinker": "^2.0",
"laravel/ui": "^3.0", "laravel/ui": "^3.0",
"nunomaduro/larastan": "^1.0.2", "spatie/laravel-medialibrary": "^10.0",
"spatie/laravel-medialibrary": "^7.19",
"spatie/laravel-settings": "^2.2", "spatie/laravel-settings": "^2.2",
"zoomyboy/laravel-nami": "dev-master" "zoomyboy/laravel-nami": "dev-master"
}, },
"require-dev": { "require-dev": {
"facade/ignition": "^2.3.6", "spatie/laravel-ignition": "^1.0",
"fzaninotto/faker": "^1.9.1", "fakerphp/faker": "^1.9.1",
"mockery/mockery": "^1.3.1", "laravel/sail": "^1.0.1",
"nunomaduro/collision": "^5.0", "mockery/mockery": "^1.4.4",
"phpunit/phpunit": "^9.0", "nunomaduro/collision": "^6.1",
"orchestra/testbench": "^6.0" "phpunit/phpunit": "^9.5.10",
"orchestra/testbench": "^7.0",
"nunomaduro/larastan": "^1.0"
}, },
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,

5442
composer.lock generated

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit bf95d6f17eee279da7e01652d18bc4613f9306de Subproject commit 0816f1ad653d3a4fb4834a6dae8ac35446b3f647