mirror of
https://github.com/docmost/docmost.git
synced 2025-11-24 08:01:10 +10:00
more work on attachments
* fix frontend env usage
This commit is contained in:
@ -70,8 +70,11 @@ export class UserRepo {
|
||||
updatableUser: UpdatableUser,
|
||||
userId: string,
|
||||
workspaceId: string,
|
||||
trx?: KyselyTransaction,
|
||||
) {
|
||||
return await this.db
|
||||
const db = dbOrTx(this.db, trx);
|
||||
|
||||
return await db
|
||||
.updateTable('users')
|
||||
.set(updatableUser)
|
||||
.where('id', '=', userId)
|
||||
|
||||
Reference in New Issue
Block a user