From 20466d311cab46d0cfcf5eba4d92589964769987 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Wed, 6 Oct 2021 15:01:02 +0200 Subject: [PATCH] delete pid from query object --- frontend/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/main.js b/frontend/src/main.js index 32a15103e..3cbbc15fe 100755 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -53,7 +53,7 @@ router.beforeEach((to, from, next) => { const publisherId = to.query.pid if (publisherId) { store.commit('publisherId', publisherId) - to.query.pid = undefined + delete to.query.pid } if (to.meta.requiresAuth && !store.state.token) { next({ path: '/login' })