fix style
This commit is contained in:
parent
5bafe9126a
commit
1b4f621191
@ -30,10 +30,12 @@ class LikeController extends Controller
|
|||||||
],
|
],
|
||||||
'ejaculation' => $like->ejaculation
|
'ejaculation' => $like->ejaculation
|
||||||
];
|
];
|
||||||
|
|
||||||
return response()->json($data, 409);
|
return response()->json($data, 409);
|
||||||
}
|
}
|
||||||
|
|
||||||
$like = Like::create($keys);
|
$like = Like::create($keys);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'ejaculation' => $like->ejaculation
|
'ejaculation' => $like->ejaculation
|
||||||
];
|
];
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Support\Facades\Schema;
|
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
class CreateLikesTable extends Migration
|
class CreateLikesTable extends Migration
|
||||||
{
|
{
|
||||||
|
@ -20,4 +20,4 @@ Route::get('/checkin/card', 'Api\\CardController@show');
|
|||||||
Route::middleware('auth')->group(function () {
|
Route::middleware('auth')->group(function () {
|
||||||
Route::post('/likes', 'Api\\LikeController@store');
|
Route::post('/likes', 'Api\\LikeController@store');
|
||||||
Route::delete('/likes/{id}', 'Api\\LikeController@destroy');
|
Route::delete('/likes/{id}', 'Api\\LikeController@destroy');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user