From 0c03dd3c62cab72ef5e2ae8085bfc2760e9be5c1 Mon Sep 17 00:00:00 2001 From: Philipp Hoenisch Date: Thu, 16 May 2024 18:18:52 +1000 Subject: [PATCH] fix: referral/os were switched --- coordinator/src/routes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coordinator/src/routes.rs b/coordinator/src/routes.rs index 94b2edb81..11852eb39 100644 --- a/coordinator/src/routes.rs +++ b/coordinator/src/routes.rs @@ -285,8 +285,8 @@ pub async fn post_register( register_params.contact.clone(), register_params.nickname.clone(), register_params.version.clone(), - register_params.referral_code, register_params.os, + register_params.referral_code, ) .map_err(|e| AppError::InternalServerError(format!("Could not upsert user: {e:#}")))?;