mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-01-04 13:35:25 +01:00
chore: further refactoring
This commit is contained in:
@@ -21,6 +21,14 @@ type User struct {
|
||||
Deactivated bool
|
||||
}
|
||||
|
||||
type Limits struct {
|
||||
MaxSendVolume int64
|
||||
MaxSendAmount int64
|
||||
MaxReceiveVolume int64
|
||||
MaxReceiveAmount int64
|
||||
MaxAccountBalance int64
|
||||
}
|
||||
|
||||
func (u *User) BeforeAppendModel(ctx context.Context, query bun.Query) error {
|
||||
switch query.(type) {
|
||||
case *bun.UpdateQuery:
|
||||
|
||||
Reference in New Issue
Block a user