mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-13 02:32:15 +01:00
disable zodios request/response validation in runtime and use server errors instead
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { api } from '../../../openapi.json.client';
|
||||
import { api } from '@/utils/api';
|
||||
import { computed, ref } from 'vue';
|
||||
import type {
|
||||
CreateProjectBody,
|
||||
@@ -34,6 +34,7 @@ export const useProjectsStore = defineStore('projects', () => {
|
||||
|
||||
async function createProject(projectBody: CreateProjectBody) {
|
||||
const organization = getCurrentOrganizationId();
|
||||
|
||||
if (organization) {
|
||||
const response = await handleApiRequestNotifications(
|
||||
() =>
|
||||
|
||||
Reference in New Issue
Block a user