From 603ec82b83a4b66f6870560eb23949da16dca7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Thu, 8 Jun 2023 16:24:53 +0200 Subject: [PATCH] v0.0.154 --- goextVersion.go | 4 ++-- wmo/queryDelete.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index b33145f..ca48575 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.153" +const GoextVersion = "0.0.154" -const GoextVersionTimestamp = "2023-06-08T16:24:15+0200" +const GoextVersionTimestamp = "2023-06-08T16:24:53+0200" diff --git a/wmo/queryDelete.go b/wmo/queryDelete.go index e202bf3..38b8b98 100644 --- a/wmo/queryDelete.go +++ b/wmo/queryDelete.go @@ -6,7 +6,7 @@ import ( "go.mongodb.org/mongo-driver/mongo" ) -func (c *Coll[TData]) DeleteOnebyID(ctx context.Context, id EntityID) error { +func (c *Coll[TData]) DeleteOneByID(ctx context.Context, id EntityID) error { _, err := c.coll.DeleteOne(ctx, bson.M{"_id": id}) if err != nil { return err