forked from FoundKeyGang/FoundKey
parent
c17e97b6a6
commit
ba3c62bf9c
3 changed files with 4 additions and 2 deletions
3
src/client/@types/vuex-shim.d.ts
vendored
3
src/client/@types/vuex-shim.d.ts
vendored
|
@ -2,10 +2,11 @@ import { ComponentCustomProperties } from 'vue';
|
|||
import { Store } from 'vuex';
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
// tslint:disable-next-line:no-empty-interface
|
||||
interface State {
|
||||
}
|
||||
|
||||
interface ComponentCustomProperties {
|
||||
$store: Store<State>
|
||||
$store: Store<State>;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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…
Reference in a new issue