mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-05-13 11:34:43 +02:00
inbox: use separate model for CreateInboxApiKeyRequest
This commit is contained in:
@@ -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