Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 432abae

Browse files
committed
fix test
1 parent 355121c commit 432abae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ApiService/ApiService/Functions/ReproVmss.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,10 @@ private async Async.Task<HttpResponseData> Delete(HttpRequestData req) {
144144
_log.WithHttpStatus(r.ErrorV).Error($"Failed to replace repro {updatedRepro.VmId:Tag:VmId}");
145145
}
146146

147+
var auth = await _context.SecretsOperations.GetSecretValue<Authentication>(vm.Auth!);
148+
147149
var response = req.CreateResponse(HttpStatusCode.OK);
148-
await response.WriteAsJsonAsync(updatedRepro);
150+
await response.WriteAsJsonAsync(ReproVmResponse.FromRepro(vm, auth));
149151
return response;
150152
}
151153
}

0 commit comments

Comments
 (0)