mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
incrementing detail revision on new card
This commit is contained in:
parent
ff21017f32
commit
6f11d83867
@ -75,6 +75,7 @@ func SetOpenMessage(w http.ResponseWriter, r *http.Request) {
|
||||
card.OutToken = connect.Token
|
||||
card.InToken = hex.EncodeToString(data)
|
||||
card.AccountID = account.GUID
|
||||
card.DetailRevision = account.CardRevision + 1
|
||||
|
||||
// create slot
|
||||
err = store.DB.Transaction(func(tx *gorm.DB) error {
|
||||
|
Loading…
Reference in New Issue
Block a user