mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-08-18 16:37:18 +02:00
cleanup from old proxy page test
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -1314,15 +1314,13 @@ export class API {
|
||||
* @param {string} name
|
||||
* @param {string} content
|
||||
* @param {string} companyID
|
||||
* @param {object} additionalFields - Optional additional fields for Proxy pages
|
||||
* @returns {Promise<ApiResponse>}
|
||||
*/
|
||||
create: async (name, content, companyID, additionalFields = {}) => {
|
||||
create: async (name, content, companyID) => {
|
||||
const payload = {
|
||||
name: name,
|
||||
content: content,
|
||||
companyID: companyID,
|
||||
...additionalFields
|
||||
companyID: companyID
|
||||
};
|
||||
return await postJSON(this.getPath('/page'), payload);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user