Sfoglia il codice sorgente

add auto to update api

abhishek9686 5 mesi fa
parent
commit
a1175365f4
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      logic/enrollmentkey.go

+ 1 - 0
logic/enrollmentkey.go

@@ -114,6 +114,7 @@ func UpdateEnrollmentKey(keyId string, relayId uuid.UUID, groups []models.TagID,
 
 	key.Relay = relayId
 	key.Groups = groups
+	key.AutoEgress = autoEgress
 	if err = upsertEnrollmentKey(&key); err != nil {
 		return nil, err
 	}