mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-03-29 02:19:51 +00:00
Fix Build Error
This commit is contained in:
@@ -44,7 +44,7 @@ describe("Test that the app service can provision a draupnir on invite of the ap
|
||||
const moderator = await newTestUser(config.homeserver.url, {
|
||||
name: { contains: "test" },
|
||||
});
|
||||
const moderatorUserID = await moderator.getUserId();
|
||||
const moderatorUserID = (await moderator.getUserId()) as StringUserID;
|
||||
const allowResult = await appservice.accessControl.allow(moderatorUserID);
|
||||
if (isError(allowResult)) {
|
||||
throw allowResult.error;
|
||||
|
||||
Reference in New Issue
Block a user