Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Nov 28, 2023
1 parent c145b9a commit 607d62b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/xlog-connect/class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class CrossBellConnector {
this.SITE_ID = siteId
}

private static contract: Contract<any> | null = null
private static contract: Contract | null = null
private static async prepare() {
if (this.contract) {
return this.contract
Expand Down Expand Up @@ -123,8 +123,8 @@ export class CrossBellConnector {
'tags' in data
? data.tags.toString()
: this.isNoteModel(data)
? '生活笔记'
: '',
? '生活笔记'
: '',
publishedAt: data.created,
}

Expand Down

0 comments on commit 607d62b

Please sign in to comment.