mirror of https://github.com/jlelse/GoBlog
Fix unnecessary paramater "url" added to post on update
This commit is contained in:
parent
fda4561d90
commit
10616e24a5
|
@ -464,6 +464,7 @@ func (s *micropubImplementation) updatePostPropertiesFromMf(p *post, properties
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ignore the following properties
|
// Ignore the following properties
|
||||||
|
delete(properties, "url")
|
||||||
delete(properties, "post-status")
|
delete(properties, "post-status")
|
||||||
delete(properties, "photo")
|
delete(properties, "photo")
|
||||||
delete(properties, "photo-alt")
|
delete(properties, "photo-alt")
|
||||||
|
|
Loading…
Reference in New Issue