From a92193f33bcb7e39d36e2e0c79e905767b321928 Mon Sep 17 00:00:00 2001 From: waltem01 Date: Thu, 22 Feb 2024 10:37:00 +0100 Subject: [PATCH] accept optional api response data --- Webserver/src/lib/interfaces.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Webserver/src/lib/interfaces.ts b/Webserver/src/lib/interfaces.ts index 35d9256..0f29933 100644 --- a/Webserver/src/lib/interfaces.ts +++ b/Webserver/src/lib/interfaces.ts @@ -1,4 +1,5 @@ // Interface to represent a response from the matrix API server export interface APIResponse { success: boolean; + results?: Array; }