summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index 558678bfe5..94e6249842 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -163,7 +163,7 @@ func DeleteRepository(doer *user_model.User, uid, repoID int64) error {
}
// Delete issue index
- if err := db.DeleteResouceIndex(ctx, "issue_index", repoID); err != nil {
+ if err := db.DeleteResourceIndex(ctx, "issue_index", repoID); err != nil {
return err
}