hunk.code_window: 	err = handler.DataStore.User().Create(user)
   	if err != nil {
   		return &httperror.HandlerError{http.StatusInternalServerError, "Unable to persist user inside the database", err}
   	}
   	err = handler.addUserIntoTeams(user, ldapSettings)
  
hunk.labels: keep replace replace replace keep keep keep
hunk.after_edit: 		err = handler.DataStore.User().Create(user)
   		if err != nil {
   			return &httperror.HandlerError{http.StatusInternalServerError, "Unable to persist user inside the database", err}
   		}
  
hunk.file_path: api/http/handler/auth/authenticate.go
hunk.type: replace
file: import { rest } from 'msw';
  
  import { createMockTeams, createMockUsers } from '../react-tools/test-mocks';
  
  export const handlers = [
    rest.get('/api/teams', async (req, res, ctx) =>
      res(ctx.json(createMockTeams(10)))
    ),
    rest.get('/api/users', async (req, res, ctx) =>
      res(ctx.json(createMockUsers(10)))
    ),
  ];
  