server: also search human readable URL
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
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