mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update User model
This commit is contained in:
parent
b13392f683
commit
86b41dbb32
1 changed files with 5 additions and 0 deletions
|
@ -78,4 +78,9 @@ class User extends Authenticatable
|
|||
return $this->hasMany(UserDevice::class);
|
||||
}
|
||||
|
||||
public function storageUsedKey()
|
||||
{
|
||||
return 'profile:storage:used:' . $this->id;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue