aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJohan Van de Wauw <johan@fluves.com>2024-02-19 11:51:58 +0100
committerGitHub <noreply@github.com>2024-02-19 10:51:58 +0000
commit740c6a226c4df26432641018fbfd9186977d573f (patch)
tree1a4a69cc5573bd14c5ceef6ee33b13a89f54b2af /services
parent7e8ff709401d09467c3eee7c69cd9600d26a97a3 (diff)
downloadgitea-740c6a226c4df26432641018fbfd9186977d573f.tar.gz
gitea-740c6a226c4df26432641018fbfd9186977d573f.zip
Fix c/p error in inline documentation (#29148)
Fix small copy/paste error in inline documentation --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'services')
-rw-r--r--services/auth/source/db/source.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/auth/source/db/source.go b/services/auth/source/db/source.go
index 50eae27439..bb2270cbd6 100644
--- a/services/auth/source/db/source.go
+++ b/services/auth/source/db/source.go
@@ -18,7 +18,7 @@ func (source *Source) FromDB(bs []byte) error {
return nil
}
-// ToDB exports an SMTPConfig to a serialized format.
+// ToDB exports the config to a byte slice to be saved into database (this method is just dummy and does nothing for DB source)
func (source *Source) ToDB() ([]byte, error) {
return nil, nil
}