Skip to content

Commit b2dcb3b

Browse files
committed
skip notif
1 parent ecc7d30 commit b2dcb3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/users.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ func (api *API) CreateUser(ctx context.Context, store database.Store, req Create
12771277
}
12781278
return nil
12791279
}, nil)
1280-
if err == nil {
1280+
if err == nil && !req.SkipNotifications {
12811281
// Notify user admins
12821282
// Get all users with user admin permission including owners
12831283
var owners, userAdmins []database.GetUsersRow

0 commit comments

Comments
 (0)