fix: ๐Ÿ› correct auth

This commit is contained in:
AP 2020-05-26 06:43:24 +02:00
parent 64cd011103
commit 4c679d083a

View file

@ -68,7 +68,7 @@ export const getAuthFromAccount = (
return {
type: account.type,
host,
macaroon: viewOnly && viewOnly !== '' ? viewOnly : session,
macaroon: session || viewOnly,
cert,
};
};