style(object): Remove unneeded initialization

This commit is contained in:
LinkinStar 2022-12-16 14:35:01 +08:00
parent 6a43e56175
commit fb4d0cc3cd
1 changed files with 0 additions and 2 deletions

View File

@ -40,8 +40,6 @@ func NewObjService(
}
}
func (os *ObjService) GetUnreviewedRevisionInfo(ctx context.Context, objectID string) (objInfo *schema.UnreviewedRevisionInfoInfo, err error) {
objInfo = &schema.UnreviewedRevisionInfoInfo{}
objectType, err := obj.GetObjectTypeStrByObjectID(objectID)
if err != nil {
return nil, err