Skip to content

Commit 2e4f2c3

Browse files
author
angel cruz
committed
Fixed what needed fixing and squished some bugs. 🐛
1 parent cfd6982 commit 2e4f2c3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

models/Lead.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Lead extends Model
3939
*/
4040
public function notes(): HasMany
4141
{
42-
return $this->hasMany(\Tepuilabs\SimpleCrm\Models\Note::class);
42+
return $this->hasMany(\App\Models\Tepuilabs\SimpleCrm\Note::class);
4343
}
4444

4545
/**

models/Note.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function author(): MorphTo
3333

3434
public function lead(): BelongsTo
3535
{
36-
return $this->belongsTo(\Tepuilabs\SimpleCrm\Models\Lead::class);
36+
return $this->belongsTo(\App\Models\Tepuilabs\SimpleCrm\Lead::class);
3737
}
3838

3939
public static function getPriorities(): array

src/SimpleCrmServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class SimpleCrmServiceProvider extends ServiceProvider
99
public function boot(): void
1010
{
1111
if ($this->app->runningInConsole()) {
12+
1213
$this->publishes([
1314
__DIR__ . '/../models' => app_path('Models/Tepuilabs/SimpleCrm'),
1415
], 'simple-crm-models');

0 commit comments

Comments
 (0)