Always let the server set the create_at timestamp (#7323)
This commit is contained in:
parent
86658edc30
commit
34df44ab53
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ export async function createPost(serverUrl: string, post: Partial<Post>, files:
|
|||
|
||||
let created;
|
||||
try {
|
||||
created = await client.createPost(newPost);
|
||||
created = await client.createPost({...newPost, create_at: 0});
|
||||
} catch (error) {
|
||||
logDebug('Error sending a post', getFullErrorMessage(error));
|
||||
const errorPost = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue