Skip to content

Commit cbacffd

Browse files
committed
format
1 parent 8ee837d commit cbacffd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

BlazorWasmDemo/Server/Controllers/UserController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public async Task<string> MakeAssertionAsync([FromBody] AuthenticatorAssertionRa
281281
{
282282
creds.DevicePublicKeys.Add(res.DevicePublicKey);
283283
}
284-
284+
285285

286286
// 5. return result to client
287287
var handler = new JwtSecurityTokenHandler();

Demo/Controller.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public JsonResult MakeCredentialOptions([FromForm] string username,
8181
}
8282
catch (Exception e)
8383
{
84-
return Json(new { Status = "error", ErrorMessage = FormatException(e) });
84+
return Json(new { Status = "error", ErrorMessage = FormatException(e) });
8585
}
8686
}
8787

@@ -132,7 +132,7 @@ public async Task<JsonResult> MakeCredential([FromBody] AuthenticatorAttestation
132132
}
133133
catch (Exception e)
134134
{
135-
return Json(new { status = "error", errorMessage = FormatException(e)});
135+
return Json(new { status = "error", errorMessage = FormatException(e) });
136136
}
137137
}
138138

@@ -177,7 +177,7 @@ public ActionResult AssertionOptionsPost([FromForm] string username, [FromForm]
177177

178178
catch (Exception e)
179179
{
180-
return Json(new { Status = "error", ErrorMessage = FormatException(e) });
180+
return Json(new { Status = "error", ErrorMessage = FormatException(e) });
181181
}
182182
}
183183

0 commit comments

Comments
 (0)