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:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user