This commit is contained in:
@@ -149,8 +149,8 @@ export const omitScheduledAtFromDescription = (description: string | null): stri
|
||||
try {
|
||||
const meta = JSON.parse(description)
|
||||
if (typeof meta === "object" && meta !== null) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const { scheduledAt, ...rest } = meta as any
|
||||
const rest = { ...(meta as Record<string, unknown>) }
|
||||
delete rest.scheduledAt
|
||||
return JSON.stringify(rest)
|
||||
}
|
||||
return description
|
||||
|
||||
Reference in New Issue
Block a user