This commit is contained in:
1 parent
0619b497f7
commit
e8abd27f3c
8 files changed
+186
-19
No files matched your search
@@ -59,7 +59,7 @@ func StoreSecret(c *gin.Context) {
|
||||
|
||||
if len(checkExists) > 0 {
|
||||
log.Printf("StoreSecret not storing secret with '%d' already matching secrets.\n", len(checkExists))
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": "StoreSecret attempting to store secret already defined. API calls for update/delete don't yet exist"})
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": "StoreSecret attempting to store secret already defined. Use update API call instead"})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user