add ability to register for updates
This commit is contained in:
@ -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)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,5 +10,6 @@ namespace Oqtane.Services
|
||||
Task<Installation> Install(InstallConfig config);
|
||||
Task<Installation> Upgrade();
|
||||
Task RestartAsync();
|
||||
Task RegisterAsync(string email);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user