You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
type definition of Client4 don't match api definition on api.mattermost.com
Environment Information
Webapp or React Native app: Webapp
Mattermost-redux Version: 5.18.0
Steps to reproduce
Try to make use of the createPost function with a structure only containing:
channel_id
message
props
This is only one example. Another is the mandatory timestamp attribute for the getFileThumbnailUrl and getFileUrl, while neither according to the documentation, nor the javascript code make it mandatory.
Expected behavior
Post creation endpoint is invoked.
Observed behavior
The code cannot compile since it expects a full post object, including all the date fields (create, update, ...)
Possible fixes
Revert to typing of 5.17.0.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Submit feature requests to http://www.mattermost.org/feature-requests/. File non-security related bugs here in the following format:
Summary
type definition of Client4 don't match api definition on api.mattermost.com
Environment Information
Steps to reproduce
Try to make use of the createPost function with a structure only containing:
This is only one example. Another is the mandatory timestamp attribute for the getFileThumbnailUrl and getFileUrl, while neither according to the documentation, nor the javascript code make it mandatory.
Expected behavior
Post creation endpoint is invoked.
Observed behavior
The code cannot compile since it expects a full post object, including all the date fields (create, update, ...)
Possible fixes
Revert to typing of 5.17.0.
The text was updated successfully, but these errors were encountered: