fix: remove duplicate session/shop declarations in managebrand action
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d791414f27
commit
eefb2e612a
@ -173,8 +173,6 @@ export const action = async ({ request }) => {
|
||||
|
||||
const { getTurn14AccessTokenFromMetafield } = await import("../utils/turn14Token.server");
|
||||
const accessToken = await getTurn14AccessTokenFromMetafield(request);
|
||||
const { session } = await authenticate.admin(request);
|
||||
const shop = session.shop;
|
||||
|
||||
const resp = await fetch("https://backend.data4autos.com/manageProducts", {
|
||||
method: "POST",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user