feat(bd): add --ephemeral and --persistent flags to bd update (#1263)
Adds --ephemeral and --persistent flags to bd update command. Author: aleiby
This commit is contained in:
@@ -92,7 +92,7 @@ func updatesFromArgs(a UpdateArgs) (map[string]interface{}, error) {
|
||||
u["sender"] = *a.Sender
|
||||
}
|
||||
if a.Ephemeral != nil {
|
||||
u["ephemeral"] = *a.Ephemeral
|
||||
u["wisp"] = *a.Ephemeral // Storage API uses "wisp", maps to "ephemeral" column
|
||||
}
|
||||
if a.RepliesTo != nil {
|
||||
u["replies_to"] = *a.RepliesTo
|
||||
|
||||
Reference in New Issue
Block a user