fix store issue
This commit is contained in:
parent
a5bd2fcfaa
commit
712e0eb9b9
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,6 @@ import loggingEndpointMethods from "@/constants/logging-endpoint-methods";
|
|||
|
||||
import headerKeys from "@/constants/header-keys";
|
||||
|
||||
const store = useMainStore();
|
||||
export class Logger {
|
||||
logInformation(message, details) {
|
||||
this.writeLogEntry(
|
||||
|
|
@ -39,6 +38,8 @@ export class Logger {
|
|||
}
|
||||
|
||||
writeLogEntry(endpoint, logEntry) {
|
||||
const store = useMainStore();
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
// If running locally or in the Dev environment show the log entries in the console.
|
||||
if (
|
||||
|
|
|
|||
Loading…
Reference in a new issue