diff options
author | crupest <crupest@outlook.com> | 2022-04-16 22:11:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-04-16 22:11:29 +0800 |
commit | b4f783c20aa47cb601dc81e0dad07aa92517c229 (patch) | |
tree | 5555a97984df994910c26b3d5f2fc897cfbdfd28 /BackEnd/Timeline/Controllers/TokenController.cs | |
parent | 750785728f57af11dfc682ee9ee870e4dc191981 (diff) | |
download | timeline-b4f783c20aa47cb601dc81e0dad07aa92517c229.tar.gz timeline-b4f783c20aa47cb601dc81e0dad07aa92517c229.tar.bz2 timeline-b4f783c20aa47cb601dc81e0dad07aa92517c229.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Controllers/TokenController.cs')
-rw-r--r-- | BackEnd/Timeline/Controllers/TokenController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Controllers/TokenController.cs b/BackEnd/Timeline/Controllers/TokenController.cs index 9ee5a09f..7fba0bc5 100644 --- a/BackEnd/Timeline/Controllers/TokenController.cs +++ b/BackEnd/Timeline/Controllers/TokenController.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
@@ -77,7 +77,7 @@ namespace Timeline.Controllers [AllowAnonymous]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
- public async Task<ActionResult<HttpVerifyTokenResponse>> Verify([FromBody] HttpVerifyTokenRequest request)
+ public async Task<ActionResult<HttpVerifyTokenResponse>> Verify([FromBody] HttpVerifyOrRevokeTokenRequest request)
{
try
{
|