Support m.topic in topic update script (#30192)
This commit is contained in:
@@ -81,6 +81,11 @@ jobs:
|
|||||||
d.body = d.body.replace(regex, releaseTopic);
|
d.body = d.body.replace(regex, releaseTopic);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (data["m.topic"]) {
|
||||||
|
data["m.topic"].forEach(d => {
|
||||||
|
d.body = d.body.replace(regex, releaseTopic);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
res = await fetch(apiUrl, {
|
res = await fetch(apiUrl, {
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
|
|||||||
Reference in New Issue
Block a user