We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355121c commit 432abaeCopy full SHA for 432abae
1 file changed
src/ApiService/ApiService/Functions/ReproVmss.cs
@@ -144,8 +144,10 @@ private async Async.Task<HttpResponseData> Delete(HttpRequestData req) {
144
_log.WithHttpStatus(r.ErrorV).Error($"Failed to replace repro {updatedRepro.VmId:Tag:VmId}");
145
}
146
147
+ var auth = await _context.SecretsOperations.GetSecretValue<Authentication>(vm.Auth!);
148
+
149
var response = req.CreateResponse(HttpStatusCode.OK);
- await response.WriteAsJsonAsync(updatedRepro);
150
+ await response.WriteAsJsonAsync(ReproVmResponse.FromRepro(vm, auth));
151
return response;
152
153
0 commit comments