X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fcore%2Fplugins%2Fplugin.service.ts;h=89391c2c5d0eda2f915fb5c4124764c1073105a0;hb=9df52d660feb722404be00a50f3c8a612bec1c15;hp=774c039647afb1dbb4e00e1822a5c5f51b2b0e23;hpb=1378c0d343028f3d40d7d795422684ab9e6a1599;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/core/plugins/plugin.service.ts b/client/src/app/core/plugins/plugin.service.ts index 774c03964..89391c2c5 100644 --- a/client/src/app/core/plugins/plugin.service.ts +++ b/client/src/app/core/plugins/plugin.service.ts @@ -188,7 +188,7 @@ export class PluginService implements ClientHook { if (!this.authService.isLoggedIn()) return undefined const value = this.authService.getRequestHeaderValue() - return { 'Authorization': value } + return { Authorization: value } }, notifier: { @@ -198,10 +198,10 @@ export class PluginService implements ClientHook { }, showModal: (input: { - title: string, - content: string, - close?: boolean, - cancel?: { value: string, action?: () => void }, + title: string + content: string + close?: boolean + cancel?: { value: string, action?: () => void } confirm?: { value: string, action?: () => void } }) => { this.zone.run(() => this.customModal.show(input))