mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 04:33:09 +02:00
5 lines
126 B
TypeScript
5 lines
126 B
TypeScript
import { IUser } from '../models/user';
|
|
|
|
export default function(user: IUser): string {
|
|
return user.name || user.username;
|
|
}
|