feat(api): return only one result on changelog update
This commit is contained in:
parent
92fe2fb32d
commit
23471aa9b0
@ -42,7 +42,7 @@ export const func = async ({
|
||||
payload: z.infer<typeof ChangelogUpdateInput>
|
||||
id: string
|
||||
}) => {
|
||||
const result = await db
|
||||
const [result] = await db
|
||||
.update(changelog)
|
||||
.set({
|
||||
...payload,
|
||||
|
Loading…
Reference in New Issue
Block a user