parent
c17e97b6a6
commit
ba3c62bf9c
3 changed files with 4 additions and 2 deletions
|
|
@ -69,6 +69,7 @@ export default define(meta, async (ps, me) => {
|
|||
throw new ApiError(meta.errors.accessDenied);
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-unnecessary-initializer
|
||||
let banner = undefined;
|
||||
if (ps.bannerId != null) {
|
||||
banner = await DriveFiles.findOne({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue