fix: delete organization tip

This commit is contained in:
2021-11-19 14:44:25 +08:00
parent 0885575cc4
commit 1f989d0a37
2 changed files with 10 additions and 4 deletions

View File

@@ -144,6 +144,8 @@ class Gitea::ClientService < ApplicationService
{status: 403, message: '你没有权限操作!'}
when 404
{status: 404, message: '你访问的链接不存在!'}
when 500
{status: 500, message: ''}
else
if response&.body.blank?
message = "请求失败"