add allow registration to API Summary

This commit is contained in:
Hayden 2023-02-15 08:53:43 -09:00
parent 607b06d2f2
commit 22bee7b406
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -50,6 +50,7 @@ type (
Message string `json:"message"`
Build Build `json:"build"`
Demo bool `json:"demo"`
AllowRegistration bool `json:"allowRegistration"`
}
)
@ -87,6 +88,7 @@ func (ctrl *V1Controller) HandleBase(ready ReadyFunc, build Build) server.Handle
Message: "Welcome to the Go API Template Application!",
Build: build,
Demo: ctrl.isDemo,
AllowRegistration: ctrl.allowRegistration,
})
}
}