-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename approvals -> registration requests
- Loading branch information
1 parent
6f1df46
commit f34f6b6
Showing
3 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from starlette.applications import Starlette | ||
from starlette.routing import Route | ||
|
||
from src.validators.api.endpoints import approve_validators, get_validators | ||
from src.validators.api.endpoints import get_validators, submit_validators | ||
|
||
app = Starlette( | ||
routes=[ | ||
Route('/validators', get_validators, methods=['GET']), | ||
Route('/validators', approve_validators, methods=['POST']), | ||
Route('/validators', submit_validators, methods=['POST']), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters