feat(#1970): add POST /api/github-account dashboard endpoint for the credentials UI
This commit is contained in:
parent
d804859128
commit
1b6b307aa7
2 changed files with 43 additions and 0 deletions
|
|
@ -188,6 +188,10 @@ pub async fn serve(port: u16, coord: Arc<Coordinator>) -> Result<()> {
|
|||
"/api/matrix-account-login",
|
||||
post(matrix_accounts::post_matrix_account_login),
|
||||
)
|
||||
.route(
|
||||
"/api/github-account",
|
||||
post(matrix_accounts::post_github_account),
|
||||
)
|
||||
.route(
|
||||
"/api/cancel-reminder/{id}",
|
||||
post(reminders::post_cancel_reminder),
|
||||
|
|
|
|||
Loading…
Reference in a new issue