Can't upgrade app store after changing apple id
I've added another Apple ID to my iPhone, which was formerly used with another account, but I won't keep it (the account ;) ).
I've uninstalled and reinstalled most of the apps, but the app store update is linked to that previous account, so I can't update it now.
Any recommendations on how to solve this?
iPhone 14, iOS 17