poprawki uwierzytelniania

This commit is contained in:
2023-04-04 21:09:32 +02:00
parent 0517106dfe
commit ea48085f6f
4 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
VITE_API_URL="https://spythere.pl" VITE_API_URL="https://spythere.pl"
VITE_API_URL_DEV="http://localhost:3000" VITE_API_URL_DEV="http://localhost:3001"
VITE_API_DEV=1 VITE_API_DEV=1
-1
View File
@@ -74,7 +74,6 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import axios from 'axios';
import { defineComponent } from 'vue'; import { defineComponent } from 'vue';
import routesMixin from '../mixins/routesMixin'; import routesMixin from '../mixins/routesMixin';
import { useStore } from '../store'; import { useStore } from '../store';
-1
View File
@@ -64,7 +64,6 @@ export const useStore = defineStore('store', {
'/manager/updateSceneryList', '/manager/updateSceneryList',
{ {
changeList: mappedChangeList, changeList: mappedChangeList,
token: this.token,
notify: this.notifyDiscord, notify: this.notifyDiscord,
}, },
{ {
+1 -2
View File
@@ -21,10 +21,9 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import axios from 'axios';
import { defineComponent } from 'vue'; import { defineComponent } from 'vue';
import { useStore } from '../store'; import { useStore } from '../store';
import { AuthState, ILoginResponse } from '../types/types'; import { AuthState } from '../types/types';
enum LoginState { enum LoginState {
INITIALIZED = 0, INITIALIZED = 0,