From d6c5c3b33db396bcb54a6fc584f6a0f86cc15fa8 Mon Sep 17 00:00:00 2001 From: Jonathan Barrow Date: Sun, 29 Oct 2023 01:01:40 -0400 Subject: [PATCH] fixed object period and data type update functions being swapped --- .../update_object_data_type_by_data_id_with_password.go | 2 +- .../datastore/update_object_period_by_data_id_with_password.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database/datastore/update_object_data_type_by_data_id_with_password.go b/database/datastore/update_object_data_type_by_data_id_with_password.go index 1f19124..a280905 100644 --- a/database/datastore/update_object_data_type_by_data_id_with_password.go +++ b/database/datastore/update_object_data_type_by_data_id_with_password.go @@ -8,7 +8,7 @@ import ( "github.com/PretendoNetwork/super-mario-maker-secure/globals" ) -func UpdateObjectPeriodByDataIDWithPassword(dataID uint64, dataType uint16, password uint64) uint32 { +func UpdateObjectDataTypeByDataIDWithPassword(dataID uint64, dataType uint16, password uint64) uint32 { var updatePassword uint64 var underReview bool diff --git a/database/datastore/update_object_period_by_data_id_with_password.go b/database/datastore/update_object_period_by_data_id_with_password.go index cfd6219..3b83311 100644 --- a/database/datastore/update_object_period_by_data_id_with_password.go +++ b/database/datastore/update_object_period_by_data_id_with_password.go @@ -8,7 +8,7 @@ import ( "github.com/PretendoNetwork/super-mario-maker-secure/globals" ) -func UpdateObjectDataTypeByDataIDWithPassword(dataID uint64, period uint16, password uint64) uint32 { +func UpdateObjectPeriodByDataIDWithPassword(dataID uint64, period uint16, password uint64) uint32 { var updatePassword uint64 var underReview bool