mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
sync with OpenAuth.Core
This commit is contained in:
@@ -91,13 +91,17 @@ namespace OpenAuth.WebApi.Controllers
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
private static string lockobj = "lock";
|
||||
[HttpPost]
|
||||
public Response UnAssignDataProperty(AssignDataReq request)
|
||||
{
|
||||
var result = new Response();
|
||||
try
|
||||
{
|
||||
_app.UnAssignData(request);
|
||||
lock (lockobj)
|
||||
{
|
||||
_app.UnAssignData(request);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user