(
id: string,
record: DeepPartial<User> | UpdateUserInput,
opts?: UpdateOneOptions<User>,
)
| 37 | } |
| 38 | |
| 39 | async updateOne( |
| 40 | id: string, |
| 41 | record: DeepPartial<User> | UpdateUserInput, |
| 42 | opts?: UpdateOneOptions<User>, |
| 43 | ): Promise<User> { |
| 44 | const user = await this.findById(id, opts) |
| 45 | if (!user) { |
| 46 | throw new NotFoundException() |
| 47 | } |
| 48 | return await super.updateOne(id, record, opts) |
| 49 | } |
| 50 | |
| 51 | async createAccountFromSignature(message: SiweMessage, externalApp: string | null) { |
| 52 | const user = await this.findOne({ address: getAddress(message.address) }) |
no test coverage detected