Skip to content

Commit 9fcdbad

Browse files
committed
feat: add client type for publish ing
1 parent 19503f0 commit 9fcdbad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/ing/create.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::api::ing::Ing;
1+
use crate::api::ing::{Ing, IngSendFrom};
22
use crate::infra::http::{unit_or_err, RequestBuilderExt};
33
use crate::openapi;
44
use anyhow::Result;
@@ -14,6 +14,7 @@ impl Ing {
1414
let body = json!({
1515
"content": content,
1616
"isPrivate": false,
17+
"clientType": IngSendFrom::Cli,
1718
});
1819

1920
client.post(url).json(&body).pat_auth(&self.pat)

0 commit comments

Comments
 (0)