mirror of https://gitee.com/answerdev/answer.git
style(object): Remove unneeded initialization
This commit is contained in:
parent
6a43e56175
commit
fb4d0cc3cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue