summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandomChars <random@chars.jp>2021-09-08 10:45:47 +0900
committerRandomChars <random@chars.jp>2021-09-08 10:45:47 +0900
commitb29912281f77dd88c73a1154756fa073e751956a (patch)
treeb6d0b649551ec88426d1fb8f596ed48711fafc3b
parentacfe939cd617a5981a6f335418c97df45c82863f (diff)
client to update parentv1.2.1
-rw-r--r--client/image.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/image.go b/client/image.go
index 08c1b7b..9a43dac 100644
--- a/client/image.go
+++ b/client/image.go
@@ -49,9 +49,10 @@ func (r *Remote) Image(flake string) (store.Image, error) {
}
// ImageUpdate updates metadata of store.Image with given snowflake. To persist original value in a field set \000.
-func (r *Remote) ImageUpdate(flake, source, commentary, commentaryTranslation string) error {
+func (r *Remote) ImageUpdate(flake, source, parent, commentary, commentaryTranslation string) error {
payload := api.ImageUpdatePayload{
Source: source,
+ Parent: parent,
Commentary: commentary,
CommentaryTranslation: commentaryTranslation,
}