1
0
Fork 0
codeberg-forgejo/services/wiki
zeripath a17edf446f
Fix 500 on first wiki page () ()
Backport 

There is a mistake in  and  which means that the first time
a wiki page is created a 500 is reported because the `master` branch is
not in existence in that wiki yet.

This PR simply checks for this error and returns not found.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-08-03 23:46:08 +01:00
..
wiki.go Fix 500 on first wiki page () () 2021-08-03 23:46:08 +01:00
wiki_test.go Fix 500 on first wiki page () () 2021-08-03 23:46:08 +01:00