feat(api): docs basic curd implemention
This commit is contained in:
@@ -75,7 +75,7 @@ func (d *Doc) PresignedURL(ctx context.Context) (*url.URL, error) {
|
||||
}
|
||||
|
||||
func (*Doc) TableName() string {
|
||||
return TableNameDocFolder
|
||||
return TableNameDoc
|
||||
}
|
||||
func (d *Doc) BeforeCreate(*gorm.DB) error {
|
||||
d.ID = xid.New().String()
|
||||
|
||||
Reference in New Issue
Block a user