refactor: avatar_file_hash instead of avatar
This commit is contained in:
3
client/getUrlForFileByHash.ts
Normal file
3
client/getUrlForFileByHash.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function getUrlForFileByHash(file_hash?: string, defaultUrl?: string) {
|
||||
return file_hash ? "uploaded_files/" + file_hash: defaultUrl
|
||||
}
|
||||
Reference in New Issue
Block a user