MCPcopy Index your code
hub / github.com/gotify/server / UpdateApplication

Method UpdateApplication

database/application.go:74–76  ·  view source on GitHub ↗

UpdateApplication updates an application.

(app *model.Application)

Source from the content-addressed store, hash-verified

72
73// UpdateApplication updates an application.
74func (d *GormDatabase) UpdateApplication(app *model.Application) error {
75 return d.DB.Save(app).Error
76}
77
78// UpdateApplicationTokenLastUsed updates the last used time of the application token.
79func (d *GormDatabase) UpdateApplicationTokenLastUsed(token string, t *time.Time) error {

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.65

Tested by

no test coverage detected