Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit 72927daf authored by Jakob Dieterle's avatar Jakob Dieterle
Browse files

resolve typescript errors

parent b939be17
Branches
Tags
1 merge request!285Resolve "Create new yarn lockfile"
Pipeline #247749 failed
......@@ -86,7 +86,7 @@ import Component, { mixins } from 'vue-class-component'
import { getters } from '@/store/getters'
import ax, { StudentExportItem, fetchStudentExportData } from '@/api'
import { mutations as mut } from '@/store/mutations'
import { ExportType, exportMixin } from '@/components/mixins/exportMixin.ts'
import { ExportType, exportMixin } from '@/components/mixins/exportMixin'
@Component
export default class DataExport extends mixins(exportMixin) {
......
......@@ -78,7 +78,7 @@ async function getJWT (context: BareActionContext<AuthState, RootState>, credent
try {
const token = await api.fetchJWT(credentials)
Authentication.SET_JWT_TOKEN(token.token)
} catch (error) {
} catch (error: any) {
let errorMsg
if (!error.response) {
errorMsg = 'Cannot reach server.'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment