mirror of
https://github.com/pushbits/server.git
synced 2025-06-09 22:22:01 +02:00
Implement deletion of applications
This commit is contained in:
parent
653e57fe03
commit
18d11677ac
7 changed files with 80 additions and 9 deletions
|
@ -27,7 +27,7 @@ func (h *UserHandler) userExists(name string) bool {
|
|||
|
||||
// CreateUser creates a new user.
|
||||
func (h *UserHandler) CreateUser(ctx *gin.Context) {
|
||||
externalUser := model.ExternalUserWithCredentials{}
|
||||
var externalUser model.ExternalUserWithCredentials
|
||||
|
||||
if success := successOrAbort(ctx, http.StatusBadRequest, ctx.Bind(&externalUser)); !success {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue