Skip to content

Commit

Permalink
fix: Fix repo delete
Browse files Browse the repository at this point in the history
  • Loading branch information
leoliu committed Jul 8, 2020
1 parent 28636b6 commit dbd2e28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stores/openpitrix/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import Base from './base'
export default class Repo extends Base {
resourceName = 'repos'

defaultStatus = ['active']

getUrl = ({ repo_id, name } = {}) => {
if (repo_id) {
return `${this.baseUrl}repos/${repo_id}/${name || ''}`
Expand Down

0 comments on commit dbd2e28

Please sign in to comment.