From eb787fb59011b9d96b91c04db36158860cea3266 Mon Sep 17 00:00:00 2001 From: "Stanko K.R." Date: Tue, 9 Dec 2025 12:18:51 +0100 Subject: [PATCH] Replace external_account_id with slug The account ID isn't useful on its own since it has to be formatted to be used as part of a URL. Therfore let's return the slug instead. --- app/views/identities/_account.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/identities/_account.json.jbuilder b/app/views/identities/_account.json.jbuilder index d3954ec2f..4c2076f0c 100644 --- a/app/views/identities/_account.json.jbuilder +++ b/app/views/identities/_account.json.jbuilder @@ -1,4 +1,4 @@ json.cache! account do - json.(account, :id, :name, :external_account_id) + json.(account, :id, :name, :slug) json.created_at account.created_at.utc end