mirror of
https://github.com/ccfos/nightingale.git
synced 2026-03-02 22:19:10 +00:00
refactor: builtin tpl add
This commit is contained in:
@@ -76,6 +76,7 @@ func (bc *BuiltinComponent) Add(ctx *ctx.Context, username string) error {
|
||||
bc.CreatedAt = now
|
||||
bc.UpdatedAt = now
|
||||
bc.CreatedBy = username
|
||||
bc.UpdatedBy = username
|
||||
return Insert(ctx, bc)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user