mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 10:33:01 +00:00
status colours
This commit is contained in:
@@ -81,7 +81,12 @@ export async function getOrganisationsByUserId(userId: number) {
|
||||
|
||||
export async function updateOrganisation(
|
||||
organisationId: number,
|
||||
updates: { name?: string; description?: string; slug?: string; statuses?: string[] },
|
||||
updates: {
|
||||
name?: string;
|
||||
description?: string;
|
||||
slug?: string;
|
||||
statuses?: Record<string, string>;
|
||||
},
|
||||
) {
|
||||
const [organisation] = await db
|
||||
.update(Organisation)
|
||||
|
||||
Reference in New Issue
Block a user