Skip to content

Commit

Permalink
fix #54
Browse files Browse the repository at this point in the history
  • Loading branch information
conglinyizhi committed Mar 19, 2023
1 parent a66a0ee commit ee5e1a4
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions hooks/notes/lark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,22 @@ export default function useSaveToLark(note: string, webhook: string) {
'Content-Type': 'application/json',
},
body: JSON.stringify({
msg_type: 'text',
msg_type: 'post',
content: {
text: `${note} \n BibiGPT`,
post: {
zh_cn: {
title: 'BibiGPT 总结',
content: [
[
{
tag: 'text',
text: note.substring(1),
// but why
},
],
],
},
},
},
}),
})
Expand Down

0 comments on commit ee5e1a4

Please sign in to comment.