fix(striker-ui-api): make login respond with no-content (204)

main
Tsu-ba-me 2 years ago
parent 9a0ca2f159
commit 2eb5b8a094
  1. 2
      striker-ui-api/src/lib/request_handlers/auth/login.ts

@ -14,5 +14,5 @@ export const login: RequestHandler<unknown, unknown, AuthLoginRequestBody> = (
stdout(`Successfully authenticated user [${userName}]`);
}
response.status(200).send();
response.status(204).send();
};

Loading…
Cancel
Save