fixed secrets example

This commit is contained in:
murm 2022-06-22 20:42:32 -04:00
parent f8afdd8a77
commit b03aa46c00

View file

@ -1,6 +1,6 @@
package main
func getAdminToken() string {
adminToken := "admin token goes here"
return adminToken
func validateAdminToken(token string) bool {
adminToken := "burger"
return adminToken == token
}