Skip to content

Commit b784116

Browse files
Fix bugs
1 parent 1b053c8 commit b784116

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Models/Source.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function repositories()
2626

2727
public function citations()
2828
{
29-
return $this->hasMany(Citations::class);
29+
return $this->hasMany(Citation::class);
3030
}
3131

3232
public function getCitationListAttribute()

src/Utils/Importer/Caln.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public static function read($conn, $caln, $group = null, $gid = null)
2727
'gid' => $gid,
2828
'medi' => $medi,
2929
];
30-
$_caln = MCaln::on($conn)->updateOrCreate($key, $data);
30+
$_caln = MCaln::on($conn)->updateOrCreate($key, $data);
3131
}
3232
}

0 commit comments

Comments
 (0)