aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-24 15:48:38 +0800
committercrupest <crupest@outlook.com>2022-04-24 15:48:38 +0800
commite1b5e204156d38fe986996f2bbe3914af7d1e226 (patch)
treee21d8dbe381d1cb1c43467186b16f73c060a8e3f /BackEnd/Timeline
parent2af55f7cbcfe59fe23382d0a7a0ac8cdaf793042 (diff)
downloadtimeline-e1b5e204156d38fe986996f2bbe3914af7d1e226.tar.gz
timeline-e1b5e204156d38fe986996f2bbe3914af7d1e226.tar.bz2
timeline-e1b5e204156d38fe986996f2bbe3914af7d1e226.zip
...
Diffstat (limited to 'BackEnd/Timeline')
-rw-r--r--BackEnd/Timeline/Services/Timeline/MarkdownProcessor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Services/Timeline/MarkdownProcessor.cs b/BackEnd/Timeline/Services/Timeline/MarkdownProcessor.cs
index 5c8aabc0..104cc44b 100644
--- a/BackEnd/Timeline/Services/Timeline/MarkdownProcessor.cs
+++ b/BackEnd/Timeline/Services/Timeline/MarkdownProcessor.cs
@@ -60,7 +60,7 @@ namespace Timeline.Services.Timeline
"DataGet",
"TimelinePostV2",
new { owner, timeline, post, data_index = dataIndex }
- )!
+ ) ?? throw new Exception("Failed to generate post data link.")
);
}