mirror of
https://github.com/bitwarden/server.git
synced 2025-04-23 14:05:10 -05:00
event page default is 50
This commit is contained in:
parent
17ec153fa7
commit
f1b8301428
@ -96,7 +96,6 @@ namespace Bit.Api.Controllers
|
|||||||
model.AccessAll, null, model.Collections?.Select(c => c.ToSelectionReadOnly()));
|
model.AccessAll, null, model.Collections?.Select(c => c.ToSelectionReadOnly()));
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPut("{id}/reinvite")]
|
|
||||||
[HttpPost("{id}/reinvite")]
|
[HttpPost("{id}/reinvite")]
|
||||||
public async Task Reinvite(string orgId, string id)
|
public async Task Reinvite(string orgId, string id)
|
||||||
{
|
{
|
||||||
@ -110,7 +109,6 @@ namespace Bit.Api.Controllers
|
|||||||
await _organizationService.ResendInviteAsync(orgGuidId, userId.Value, new Guid(id));
|
await _organizationService.ResendInviteAsync(orgGuidId, userId.Value, new Guid(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPut("{id}/accept")]
|
|
||||||
[HttpPost("{id}/accept")]
|
[HttpPost("{id}/accept")]
|
||||||
public async Task Accept(string orgId, string id, [FromBody]OrganizationUserAcceptRequestModel model)
|
public async Task Accept(string orgId, string id, [FromBody]OrganizationUserAcceptRequestModel model)
|
||||||
{
|
{
|
||||||
@ -123,7 +121,6 @@ namespace Bit.Api.Controllers
|
|||||||
var result = await _organizationService.AcceptUserAsync(new Guid(id), user, model.Token);
|
var result = await _organizationService.AcceptUserAsync(new Guid(id), user, model.Token);
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPut("{id}/confirm")]
|
|
||||||
[HttpPost("{id}/confirm")]
|
[HttpPost("{id}/confirm")]
|
||||||
public async Task Confirm(string orgId, string id, [FromBody]OrganizationUserConfirmRequestModel model)
|
public async Task Confirm(string orgId, string id, [FromBody]OrganizationUserConfirmRequestModel model)
|
||||||
{
|
{
|
||||||
@ -138,7 +135,6 @@ namespace Bit.Api.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpPut("{id}")]
|
[HttpPut("{id}")]
|
||||||
[HttpPost("{id}")]
|
|
||||||
public async Task Put(string orgId, string id, [FromBody]OrganizationUserUpdateRequestModel model)
|
public async Task Put(string orgId, string id, [FromBody]OrganizationUserUpdateRequestModel model)
|
||||||
{
|
{
|
||||||
var orgGuidId = new Guid(orgId);
|
var orgGuidId = new Guid(orgId);
|
||||||
@ -159,7 +155,6 @@ namespace Bit.Api.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpPut("{id}/groups")]
|
[HttpPut("{id}/groups")]
|
||||||
[HttpPost("{id}/groups")]
|
|
||||||
public async Task PutGroups(string orgId, string id, [FromBody]OrganizationUserUpdateGroupsRequestModel model)
|
public async Task PutGroups(string orgId, string id, [FromBody]OrganizationUserUpdateGroupsRequestModel model)
|
||||||
{
|
{
|
||||||
var orgGuidId = new Guid(orgId);
|
var orgGuidId = new Guid(orgId);
|
||||||
@ -183,7 +178,6 @@ namespace Bit.Api.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpDelete("{id}")]
|
[HttpDelete("{id}")]
|
||||||
[HttpPost("{id}/delete")]
|
|
||||||
public async Task Delete(string orgId, string id)
|
public async Task Delete(string orgId, string id)
|
||||||
{
|
{
|
||||||
var orgGuidId = new Guid(orgId);
|
var orgGuidId = new Guid(orgId);
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
public class PageOptions
|
public class PageOptions
|
||||||
{
|
{
|
||||||
public string ContinuationToken { get; set; }
|
public string ContinuationToken { get; set; }
|
||||||
public int PageSize { get; set; } = 100;
|
public int PageSize { get; set; } = 50;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user