Support avatar_url in the scalar client API (#8550)
* Support avatar_url in the scalar client API Signed-off-by: Oliver Sand <oliver.sand@nordeck.net> * Fix return type * Remove automatic upload * Remove return type * Fix indention
This commit is contained in:
parent
efc36acf93
commit
f7ba3f07cd
2 changed files with 19 additions and 6 deletions
|
@ -286,6 +286,7 @@ export default class WidgetUtils {
|
|||
widgetUrl?: string,
|
||||
widgetName?: string,
|
||||
widgetData?: object,
|
||||
widgetAvatarUrl?: string,
|
||||
) {
|
||||
let content;
|
||||
|
||||
|
@ -299,6 +300,7 @@ export default class WidgetUtils {
|
|||
url: widgetUrl,
|
||||
name: widgetName,
|
||||
data: widgetData,
|
||||
avatar_url: widgetAvatarUrl,
|
||||
};
|
||||
} else {
|
||||
content = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue