Skip to content

Commit e15ba0e

Browse files
committed
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.
1 parent 028ccb5 commit e15ba0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
json.cache! account do
2-
json.(account, :id, :name, :external_account_id)
2+
json.(account, :id, :name, :slug)
33
json.created_at account.created_at.utc
44
end

0 commit comments

Comments
 (0)