mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 04:09:15 +02:00
feat:#34 refactored function to intended service, fixed docker files
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
import { Module } from "../model/module";
|
||||
|
||||
export async function fetchModule(module: Module): Promise<Module> {
|
||||
// request to the backend on /api/module with query parameters name as the module name
|
||||
// request to the data-manager on /api/module with query parameters name as the module name
|
||||
const request = new Request("/api/module?uuid=" + module.uuid);
|
||||
|
||||
return await fetch(request)
|
||||
|
@@ -14,7 +14,7 @@
|
||||
//You should have received a copy of the GNU Affero General Public License
|
||||
//along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
// load free rooms as a list of strings form the backend
|
||||
// load free rooms as a list of strings form the data-manager
|
||||
export async function requestFreeRooms(
|
||||
from: string,
|
||||
to: string,
|
||||
|
Reference in New Issue
Block a user