fix: publish issues
This commit is contained in:
@@ -60,6 +60,10 @@ func Post(pd PostData) error {
|
||||
return errors.New("post memo failed, body: " + resp.String())
|
||||
}
|
||||
|
||||
if len(pd.Resources) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
type Resources struct {
|
||||
Resources []Resource `json:"resources"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user