Skip to content

Commit

Permalink
fix: Fix single cluster mail settings
Browse files Browse the repository at this point in the history
Signed-off-by: leoliu <leoliu@yunify.com>
  • Loading branch information
leoliu committed Jul 17, 2020
1 parent 4ca39b2 commit 04cc87d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stores/notification/mailService.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ export default class AddressStore extends Base {
}

getMailServiceURL(cluster) {
return `kapis/clusters/${cluster}/notification.kubesphere.io/v1/serviceconfigs`
return `kapis/notification.kubesphere.io/klusters/${cluster}/v1/serviceconfigs`
}

getMailServiceV2URL(cluster) {
return `kapis/clusters/${cluster}/notification.kubesphere.io/v2/serviceconfigs`
return `kapis/notification.kubesphere.io/klusters/${cluster}/v2/serviceconfigs`
}

@action
Expand Down

0 comments on commit 04cc87d

Please sign in to comment.