forked from FoundKeyGang/FoundKey
server: also search human readable URL
Changelog: Fixed
This commit is contained in:
parent
78f5ca3792
commit
66ec875624
1 changed files with 4 additions and 2 deletions
|
@ -62,9 +62,11 @@ export class DbResolver {
|
|||
id: parsed.id,
|
||||
});
|
||||
} else {
|
||||
return await Notes.findOneBy({
|
||||
return await Notes.findOneBy([{
|
||||
uri: parsed.uri,
|
||||
});
|
||||
}, {
|
||||
url: parsed.uri,
|
||||
}]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue