Remove default "fake" fallback for EnvelopeKey usage
The default value "fake" for the `EnvelopeKey` parameter has been removed when calling `AnnotationService.GetAnnotationsAsync` and `EnvelopeReceiverService.GetAsync`. The code now directly uses the `EnvelopeKey` variable, assuming it will always have a valid value or that null/empty handling is managed elsewhere.
This commit is contained in:
@@ -342,8 +342,8 @@ Shown="OnPopupShownAsync">
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_annotations = await AnnotationService.GetAnnotationsAsync(EnvelopeKey ?? "fake");
|
_annotations = await AnnotationService.GetAnnotationsAsync(EnvelopeKey);
|
||||||
_envelopeReceiver = await EnvelopeReceiverService.GetAsync(EnvelopeKey ?? "fake");
|
_envelopeReceiver = await EnvelopeReceiverService.GetAsync(EnvelopeKey);
|
||||||
|
|
||||||
if (!AppOptions.Value.UsePredefinedReports && !string.IsNullOrWhiteSpace(EnvelopeKey)) {
|
if (!AppOptions.Value.UsePredefinedReports && !string.IsNullOrWhiteSpace(EnvelopeKey)) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user