parent
390d865e5a
commit
4f16088a3b
|
|
@ -39,7 +39,7 @@ async function uploadPost(data: PostUploadCommandData) {
|
||||||
|
|
||||||
if (!contentToken) {
|
if (!contentToken) {
|
||||||
// TODO: If donmai URL is the source then we need to do the uploadTempFileFromContent here!
|
// TODO: If donmai URL is the source then we need to do the uploadTempFileFromContent here!
|
||||||
console.log("contentToken is undefined. Is could be a problem for some sources!");
|
console.log("contentToken is undefined. This could be a problem for some sources!");
|
||||||
}
|
}
|
||||||
|
|
||||||
const createdPost = await szuru.createPost(data.post, contentToken);
|
const createdPost = await szuru.createPost(data.post, contentToken);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue