mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-01 10:49:33 +02:00
inbox: use separate model for CreateInboxApiKeyRequest
This commit is contained in:
1 parent
4278b0624e
commit
33413b0a5c
2 files changed
+10
-1
No files matched your search
@@ -63,7 +63,7 @@ namespace Notesnook.API.Controllers
|
||||
|
||||
[HttpPost("api-keys")]
|
||||
[Authorize(Policy = "Notesnook")]
|
||||
public async Task<IActionResult> CreateApiKeyAsync([FromBody] InboxApiKey request)
|
||||
public async Task<IActionResult> CreateApiKeyAsync([FromBody] CreateInboxApiKeyRequest request)
|
||||
{
|
||||
var userId = User.GetUserId();
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user