MCPcopy Create free account
hub / github.com/getgridea/gridea / saveSetting

Method saveSetting

src/server/setting.ts:23–26  ·  view source on GitHub ↗
(setting: ISetting)

Source from the content-addressed store, hash-verified

21 }
22
23 public async saveSetting(setting: ISetting) {
24 await this.$setting.set('config', setting).write()
25 return true
26 }
27
28 public async saveCommentSetting(setting: ICommentSetting) {
29 await this.$setting.set('comment', setting).write()

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected