add ability to register for updates

This commit is contained in:
Shaun Walker
2021-06-27 08:48:18 -04:00
parent db1808d3e9
commit 9e004f5b3c
13 changed files with 136 additions and 39 deletions

View File

@ -45,5 +45,10 @@ namespace Oqtane.Services
{
await PostAsync($"{ApiUrl}/restart");
}
public async Task RegisterAsync(string email)
{
await PostAsync($"{ApiUrl}/register?email={WebUtility.UrlEncode(email)}");
}
}
}