トランザクションを使うようにしたり
This commit is contained in:
parent
4198246351
commit
2ff3069d23
12 changed files with 117 additions and 67 deletions
|
|
@ -87,7 +87,6 @@ export class UserRepository extends Repository<User> {
|
|||
name: user.name,
|
||||
username: user.username,
|
||||
host: user.host,
|
||||
uri: user.uri,
|
||||
avatarUrl: user.avatarUrl,
|
||||
bannerUrl: user.bannerUrl,
|
||||
avatarColor: user.avatarColor,
|
||||
|
|
@ -118,6 +117,7 @@ export class UserRepository extends Repository<User> {
|
|||
} : {}),
|
||||
|
||||
...(opts.detail ? {
|
||||
url: profile.url,
|
||||
createdAt: user.createdAt,
|
||||
updatedAt: user.updatedAt,
|
||||
description: profile.description,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue