From 777feba4ab9de42cf692612ed0e2972d74cd1e61 Mon Sep 17 00:00:00 2001 From: Lucien Mendela Date: Tue, 18 Oct 2022 11:26:30 +0200 Subject: [PATCH] Update subscription.js Can generate link to update card on subscription --- resources/subscription.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/subscription.js b/resources/subscription.js index 71f15d5..85028fb 100644 --- a/resources/subscription.js +++ b/resources/subscription.js @@ -47,5 +47,15 @@ module.exports = { get: { method: "get", route: `${route}/{id}` + }, + /* + Update subscription + */ + update: { + method: "get", + // endpoint:[root, '/manage/link'].join(''), + route: `${route}/{code}/manage/link`, + // params: ['code*','id_or_subscription_code'], + params: ["code"], } };