fixes #1093 – account for no previous revision in backlinks service
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
import MarkdownSerializer from 'slate-md-serializer';
|
||||
const Markdown = new MarkdownSerializer();
|
||||
|
||||
export default function parseDocumentIds(text: string) {
|
||||
export default function parseDocumentIds(text: string): string[] {
|
||||
const value = Markdown.deserialize(text);
|
||||
let links = [];
|
||||
|
||||
|
Reference in New Issue
Block a user