[DB][AVATAR] Remove extraneous slash

This commit is contained in:
Hugo Sales 2020-08-14 22:39:16 +00:00 committed by Hugo Sales
parent 86bd1dbbbf
commit 6d1fa10965
1 changed files with 2 additions and 2 deletions

View File

@ -111,12 +111,12 @@ class Avatar extends Entity
public static function getFilePathStatic(string $filename): string
{
return Common::config('avatar', 'dir') . '/' . $filename;
return Common::config('avatar', 'dir') . $filename;
}
public function getFilePath(): string
{
return Common::config('avatar', 'dir') . '/' . $this->getFile()->getFileName();
return Common::config('avatar', 'dir') . $this->getFile()->getFileName();
}
/**