From 6285ee92cbbd12a76ee234860f69376dd031024a Mon Sep 17 00:00:00 2001
From: Travis Ralston <travpc@gmail.com>
Date: Wed, 4 Sep 2019 18:44:10 -0600
Subject: [PATCH] Spelling

---
 api/custom/purge.go        | 2 +-
 api/webserver/webserver.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/custom/purge.go b/api/custom/purge.go
index f3dcec69..53097106 100644
--- a/api/custom/purge.go
+++ b/api/custom/purge.go
@@ -92,7 +92,7 @@ func PurgeIndividualRecord(r *http.Request, log *logrus.Entry, user api.UserInfo
 	return &api.DoNotCacheResponse{Payload: map[string]interface{}{"purged": true}}
 }
 
-func PurgeQurantined(r *http.Request, log *logrus.Entry, user api.UserInfo) interface{} {
+func PurgeQuarantined(r *http.Request, log *logrus.Entry, user api.UserInfo) interface{} {
 	isGlobalAdmin, isLocalAdmin := getPurgeRequestInfo(r, log, user)
 	localServerName := r.Host
 
diff --git a/api/webserver/webserver.go b/api/webserver/webserver.go
index fe3bc0e4..3aaf54f7 100644
--- a/api/webserver/webserver.go
+++ b/api/webserver/webserver.go
@@ -33,7 +33,7 @@ func Init() {
 	identiconHandler := handler{api.AccessTokenOptionalRoute(r0.Identicon), "identicon", counter, false}
 	purgeRemote := handler{api.RepoAdminRoute(custom.PurgeRemoteMedia), "purge_remote_media", counter, false}
 	purgeOneHandler := handler{api.AccessTokenRequiredRoute(custom.PurgeIndividualRecord), "purge_individual_media", counter, false}
-	purgeQuarantinedHandler := handler{api.AccessTokenRequiredRoute(custom.PurgeQurantined), "purge_quarantined", counter, false}
+	purgeQuarantinedHandler := handler{api.AccessTokenRequiredRoute(custom.PurgeQuarantined), "purge_quarantined", counter, false}
 	quarantineHandler := handler{api.AccessTokenRequiredRoute(custom.QuarantineMedia), "quarantine_media", counter, false}
 	quarantineRoomHandler := handler{api.AccessTokenRequiredRoute(custom.QuarantineRoomMedia), "quarantine_room", counter, false}
 	quarantineUserHandler := handler{api.AccessTokenRequiredRoute(custom.QuarantineUserMedia), "quarantine_user", counter, false}
-- 
GitLab