mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2026-01-18 06:02:24 +01: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)
|
||||
|
||||
Reference in New Issue
Block a user