translate japanese comment

This commit is contained in:
Johann150 2023-05-18 02:08:07 +02:00
parent c53486a47c
commit 9675ced915
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -217,7 +217,7 @@ export async function createPerson(value: string | IObject, resolver: Resolver):
} catch (e) {
// duplicate key error
if (isDuplicateKeyValueError(e)) {
// /users/@a => /users/:id のように入力がaliasなときにエラーになることがあるのを対応
// Fix an error when the input is an alias like /users/@a -> /users/:id
const u = await Users.findOneBy({
uri: person.id,
});