Added git hooks
This commit is contained in:
@@ -16,7 +16,10 @@ export type InsertMeta<T> = T & {
|
||||
|
||||
type GroupFilter = Filter<InsertMeta<GroupData>>
|
||||
|
||||
export async function setData(uuid: string|undefined, data: GroupData): Promise<string | undefined> {
|
||||
export async function setData(
|
||||
uuid: string | undefined,
|
||||
data: GroupData
|
||||
): Promise<string | undefined> {
|
||||
const collection = (await database.resolve())?.collection('setups')
|
||||
if (!collection) return
|
||||
if (!uuid) {
|
||||
|
||||
Reference in New Issue
Block a user