fix: improve error handling in API routes and update date handling for OKR and Key Result submissions
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 3m38s
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 3m38s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { prisma } from '@/services/database';
|
||||
import type { CreateTeamInput, UpdateTeamInput, AddTeamMemberInput, UpdateMemberRoleInput, TeamRole } from '@/lib/types';
|
||||
import type { UpdateTeamInput, TeamRole } from '@/lib/types';
|
||||
|
||||
export async function createTeam(name: string, description: string | null, createdById: string) {
|
||||
// Create team and add creator as admin in a transaction
|
||||
|
||||
Reference in New Issue
Block a user