mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +08:00
Fix for jira.com hosted sites (#231)
This commit is contained in:
parent
3e558ac2e3
commit
90d8729a7d
@ -704,7 +704,7 @@ func (api *API) RestrictPageUpdates(
|
||||
) error {
|
||||
var err error
|
||||
|
||||
if strings.HasSuffix(api.rest.Api.BaseUrl.Host, "atlassian.net") {
|
||||
if strings.HasSuffix(api.rest.Api.BaseUrl.Host, "jira.com") || strings.HasSuffix(api.rest.Api.BaseUrl.Host, "atlassian.net") {
|
||||
err = api.RestrictPageUpdatesCloud(page, allowedUser)
|
||||
} else {
|
||||
err = api.RestrictPageUpdatesServer(page, allowedUser)
|
||||
|
Loading…
x
Reference in New Issue
Block a user