mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
always sync Last Updated
This commit is contained in:
parent
4f5033d445
commit
e1236dbe29
1 changed files with 8 additions and 8 deletions
|
|
@ -72,7 +72,7 @@ interface NotionPage {
|
|||
start: string
|
||||
}
|
||||
}
|
||||
'Last Updated'?: {
|
||||
'Last Updated': {
|
||||
date: {
|
||||
start: string
|
||||
}
|
||||
|
|
@ -238,13 +238,13 @@ export class NotionClient implements IntegrationClient {
|
|||
},
|
||||
}
|
||||
: undefined,
|
||||
'Last Updated': item.updatedAt
|
||||
? {
|
||||
date: {
|
||||
start: item.updatedAt as string,
|
||||
},
|
||||
}
|
||||
: undefined,
|
||||
'Last Updated': {
|
||||
date: {
|
||||
start: item.updatedAt
|
||||
? (item.updatedAt as string)
|
||||
: new Date().toISOString(),
|
||||
},
|
||||
},
|
||||
Tags: item.labels
|
||||
? {
|
||||
multi_select: item.labels.map((label) => ({
|
||||
|
|
|
|||
Loading…
Reference in a new issue