Skip to content

Commit

Permalink
Merge pull request #3257 from gravitl/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
abhishek9686 authored Dec 16, 2024
2 parents fc8675b + 39d0c0e commit 0e36d65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deletedroplets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: delete droplets
if: success() || failure()
run: |
sleep 1m
sleep 30m
response=$(curl -X DELETE \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: delete droplets
if: success() || failure()
run: |
sleep 1m
sleep 30m
response=$(curl -X DELETE \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
Expand Down
2 changes: 1 addition & 1 deletion models/user_mgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ type UserGroup struct {

// User struct - struct for Users
type User struct {
UserName string `json:"username" bson:"username" validate:"min=3,max=40,in_charset|email"`
UserName string `json:"username" bson:"username" validate:"min=3,in_charset|email"`
ExternalIdentityProviderID string `json:"external_identity_provider_id"`
Password string `json:"password" bson:"password" validate:"required,min=5"`
IsAdmin bool `json:"isadmin" bson:"isadmin"` // deprecated
Expand Down

0 comments on commit 0e36d65

Please sign in to comment.