mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
fix(be): adding user to project team for BoltDB
This commit is contained in:
parent
1ce64c4ce5
commit
aa46a392d7
@ -442,7 +442,7 @@ func (d *BoltDb) createObject(bucketID int, props db.ObjectProps, object interfa
|
||||
reflect.Uint16,
|
||||
reflect.Uint32,
|
||||
reflect.Uint64:
|
||||
//if idValue.Int() == 0 {
|
||||
if idValue.Int() == 0 {
|
||||
id, err3 := b.NextSequence()
|
||||
if err3 != nil {
|
||||
return err3
|
||||
@ -451,7 +451,7 @@ func (d *BoltDb) createObject(bucketID int, props db.ObjectProps, object interfa
|
||||
id = MaxID - id
|
||||
}
|
||||
idValue.SetInt(int64(id))
|
||||
//}
|
||||
}
|
||||
|
||||
objID = intObjectID(idValue.Int())
|
||||
case reflect.String:
|
||||
|
Loading…
Reference in New Issue
Block a user