@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Dingo\Api\Http; |
| 6 | 6 | use Dingo\Api\Routing\Helpers; |
| 7 | -use App\User; |
|
| 8 | 7 | use App\Notification; |
| 9 | 8 | use App\NotificationAttrib; |
| 10 | 9 | use Illuminate\Http\Request; |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Dingo\Api\Http; |
| 6 | 6 | use Dingo\Api\Routing\Helpers; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | -use JavaScript; |
|
| 9 | 8 | |
| 10 | 9 | class NotificationController extends Controller |
| 11 | 10 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | |
| 41 | 41 | public function scopeLimit($query) |
| 42 | 42 | { |
| 43 | - return $query->select('notifications.*','key'); |
|
| 43 | + return $query->select('notifications.*', 'key'); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | } |