Skip to content

Commit

Permalink
✨ feat(server): Add user login endpoint
Browse files Browse the repository at this point in the history
Added a new endpoint for user login in the server.py file. The login
endpoint allows users to log in and returns the result. If any error
occurs during the login process, an exception is logged and a 500
status code is returned.

The new endpoint is defined as a POST request at `/user/login`. The
request body expects a `Login` object.
  • Loading branch information
sudoskys committed Feb 7, 2024
1 parent ae65b21 commit 3034852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "novelai-python"
version = "0.1.9"
version = "0.2.0"
description = "Novelai Python Binding With Pydantic"
authors = [
{ name = "sudoskys", email = "[email protected]" },
Expand Down

0 comments on commit 3034852

Please sign in to comment.