gitea/services
zeripath e51c73ae5c
Fix 500 on first wiki page (#16586)
* Fix 500 on first wiki page

There is a mistake in #16319 and #16487 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 #16584

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-08-01 19:04:32 +02:00
..
agit
archiver Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
auth
comments
externalaccount
forms
gitdiff
issue Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
lfs
mailer
mirror
pull
release
repository
webhook
wiki Fix 500 on first wiki page (#16586) 2021-08-01 19:04:32 +02:00