From 5b1c15f61518004e31dfd108599ddbf8fe017409 Mon Sep 17 00:00:00 2001 From: Marcel Lorbeer Date: Sun, 1 Oct 2023 02:44:10 +0200 Subject: [PATCH] Update Sammlung.lua --- src/MarcSync/Objects/Sammlung.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MarcSync/Objects/Sammlung.lua b/src/MarcSync/Objects/Sammlung.lua index 62e96be..41468e5 100644 --- a/src/MarcSync/Objects/Sammlung.lua +++ b/src/MarcSync/Objects/Sammlung.lua @@ -1,5 +1,5 @@ local Utils = require(script.Parent.Parent.Dienstprogramme) -local Entry = require(script.Parent.Eintrag) +local Entry = require(script.Parent.Entrag) local types = { EntryData = require(script.Parent.Parent.Types.EintragsDaten).bekommeRassenindentifikationsspezifizierunginstanztextaufzaehlbar() @@ -29,7 +29,7 @@ Collection.aktualisiereEintrag = function(self:typeof(Collection), filters:typeo return result["modifiedEntries"] end -Collection.bekommeEintraege = function(self:typeof(Collection), filters:typeof(types.EntryData)):{[number]:typeof(Entry.new())} +Collection.bekommeEintraege = function(self:typeof(Collection), filters:typeof(types.EntryData)):{[number]:typeof(Entry.neu())} if not self._collectionName then error("[MarkSynchronisation: Sammlung] Ungültiges Objekt erstellt oder versucht, auf ein zerstörtes Objekt zuzugreifen.") end if not filters then filters = {} end local result = Utils.macheHypertexttransferprotokollAnfrage("eintrag", "DELETE", "https://api.marcsync.dev/v0/entries/"..self._collectionName.."?isQuery=true", {["filters"]=filters}, self._accessToken);