Accept Article object (#4499)
This commit is contained in:
parent
68d43e43b6
commit
56eb896a03
7 changed files with 13 additions and 11 deletions
|
@ -103,7 +103,7 @@ async function fetchAny(uri: string) {
|
|||
};
|
||||
}
|
||||
|
||||
if (['Note', 'Question'].includes(object.type)) {
|
||||
if (['Note', 'Question', 'Article'].includes(object.type)) {
|
||||
const note = await createNote(object.id);
|
||||
return {
|
||||
type: 'Note',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue