add "user/invites/sent" and "user/invites/received" requests
This commit is contained in:
parent
33833c60ef
commit
93fd8312da
4 changed files with 49 additions and 11 deletions
|
|
@ -535,6 +535,18 @@ public class Requests
|
|||
{
|
||||
switch (serializedBody.string1)
|
||||
{
|
||||
case "user/invites/sent":
|
||||
await context.Response.WriteAsync(
|
||||
Encryption.Encryption.EncryptString(
|
||||
await Utils.GetUserSentInvites(id)
|
||||
, password));
|
||||
break;
|
||||
case "user/invites/received":
|
||||
await context.Response.WriteAsync(
|
||||
Encryption.Encryption.EncryptString(
|
||||
await Utils.GetUserReceivedInvites(id)
|
||||
, password));
|
||||
break;
|
||||
case "user/key/update":
|
||||
await context.Response.WriteAsync(
|
||||
Encryption.Encryption.EncryptString(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue