mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
returning string for access key
This commit is contained in:
@@ -551,7 +551,7 @@ func createAccessKey(w http.ResponseWriter, r *http.Request) {
|
||||
mongoconn.GetError(errN, w)
|
||||
return
|
||||
}
|
||||
w.Write([]byte(accesskey.Value))
|
||||
w.Write([]byte(accesskey.AccessString))
|
||||
}
|
||||
|
||||
//pretty simple get
|
||||
|
Reference in New Issue
Block a user